int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / fwfwgq
It will give segmentation fault in linux
| Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Explain what does the format %10.2 mean when included in a printf statement?
How do you construct an increment statement or decrement statement in C?
Explain the use of #pragma exit?
What is meant by realloc()?
What is ## preprocessor operator in c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is string function c?
Explain what are linked list?
What do you mean by a sequential access file?
How are structure passing and returning implemented?
What are the preprocessor categories?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Explain how do you declare an array that will hold more than 64kb of data?
Explain what does a function declared as pascal do differently?