what will be the output of this program........
main()
{
int a=2,b=4,c=6;
printf("%d");
}
why it gives the value of third variable.
Answer Posted / lilly
u get garbage value!!!
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
How can I find the modification date and time of a file?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
How can a number be converted to a string?
what do you mean by inline function in C?
What is identifier in c?
writ a program to compare using strcmp VIVA and viva with its output.
What is structure and union in c?
Which built-in library function can be used to match a patter from the string?
Explain how are 16- and 32-bit numbers stored?
What is meant by type casting?
How can I open files mentioned on the command line, and parse option flags?
Explain about the functions strcat() and strcmp()?
What is the difference between printf and scanf )?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?