int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?

Answer Posted / ruchi

outout will be 4 in case code is printf("i=4");
printf("i=3");
else this program will show two error

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the auto keyword good for?

616


Tell me the use of bit field in c language?

622


What are qualifiers and modifiers c?

540


What is the stack in c?

712


What is operator precedence?

637






What is data type long in c?

621


Is that possible to add pointers to each other?

892


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

663


Explain a file operation in C with an example.

652


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

1581


What is variable initialization and why is it important?

609


int i=10; printf("%d %d %d", i, i=20, i);

1004


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

660


Which driver is a pure java driver

984


Explain the difference between null pointer and void pointer.

661