main()
{
int i = -3,j=2,k=0,m;
m= ++i || ++j && ++k;
printf("%d%d%d",i,j,k,m);
}

Answer Posted / jeke kumar gochhayat

i=-2
j=3
k=1
m=1

Is This Answer Correct ?    11 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is exit() function?

559


What is a dynamic array in c?

588


If I have a char * variable pointing to the name of a function ..

646


Explain threaded binary trees?

670


What is malloc calloc and realloc in c?

660






How can you access memory located at a certain address?

663


Are the variables argc and argv are always local to main?

569


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

683


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

636


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4173


What does sizeof int return?

588


Why we use conio h in c?

580


What does struct node * mean?

595


What is a static variable in c?

663


What does the file stdio.h contain?

597