LikeC Programmer

LikeC Programmer "LikeC Programmer" is an initiative of a group of professional coders to give free advise and help t

"LikeC Programmer" is an initiative of professional programmers who wish to support the students to develop coding skills. The aim of the initiative is to induce professionalism in the younger generation which the University system cannot impart. Coding is a skill and not remembering few lines to pass a theory or practical examination. The registration for the above training program is open for al

l students interested to join Software Profession. The registration is on "First Come First" basis and THERE IS NO FEE for the training. Our GROUP hopes that the students make the best use of this initiative.

How cool is it to have favorite social media and shopping sites in your finger tip! This is built only for *DESKTOP* bro...
20/06/2020

How cool is it to have favorite social media and shopping sites in your finger tip! This is built only for *DESKTOP* browsers. Use Chrome for best experience!! Happy browsing..!!!

One Point Solution To Link All Sites

15/12/2018

What is the output of the following assuming that the size of int is 4 bytes???!!!! Comment your answer.


using namespace std;

class abc {
void f();
void g();
int x;
};


main()
{
cout

14/12/2018

Print all natural numbers upto N without using semi-colon in the logic!!

using namespace std;

int N = 10;



int main()
{

static int x = 1;

if (cout

13/12/2018

Can you guess the output of below snippet.

void main(){
int i=10;
static int x=i;
if(x==i)
printf("Equal");
else if(x>i)
printf("Greater than");
else
printf("Less than");
}

Answer : Compilation Error

Static variables are load time entity while Auto variables are run time entity. We can not initialize any load time variable by the run time variable.
In this example i is run time variable while x is load time variable.

12/12/2018

Tricky way to calculate the sum of all digits of the given number.

Ex : 153 ( 1 + 5 + 2 ) = 8

include
using namespace std;

int main()
{
int number = 152; //Any number.
int res;

if(number)
res = number % 9 == 0 ? 9 : number % 9 ;
else
res = 0;

//print the result
cout

11/12/2018

Check 2 numbers are equal without using arithmetic operator.

int main()
{

int x = 10;

int y = 10;

if ( !(x ^ y) ) /* XOR operation */

printf(" x is equal to y ");

else

printf(" x is not equal to y ");

return 0;
}

True story!!
14/07/2018

True story!!

😂😂
20/05/2018

😂😂

22/11/2017
So true!! :D
21/11/2017

So true!! :D

19/02/2017

Address

10 BLOCK 5 BEML LAYOUT SRIRAMPURA 2ND STAGE
Mysore
570023

Alerts

Be the first to know and let us send you an email when LikeC Programmer posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to LikeC Programmer:

Share