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
What is the auto keyword good for?
Tell me the use of bit field in c language?
What are qualifiers and modifiers c?
What is the stack in c?
What is operator precedence?
What is data type long in c?
Is that possible to add pointers to each other?
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?
Explain a file operation in C with an example.
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
What is variable initialization and why is it important?
int i=10; printf("%d %d %d", i, i=20, i);
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
Which driver is a pure java driver
Explain the difference between null pointer and void pointer.