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.
Answers were Sorted based on User's Feedback
Answer / srsabariselvan
6
because it'll print the last garbage value stored.
Is This Answer Correct ? | 3 Yes | 1 No |
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What is the process to generate random numbers in c programming language?
what are the difference between ANSI C and Let Us c and Turbo C
int far *near * p; means
Write a program to check armstrong number in c?
Explain what is page thrashing?
Explain what is the use of a semicolon (;) at the end of every program statement?
Write a programme to find even numbers without using any conditional statement?
3 Answers ADD Software, Infosys,
Write a C function to search a number in the given list of numbers. donot use printf and scanf
WAP to convert text into its ASCII Code and also write a function to decode the text given?
How to receive strings with spaces in scanf()
What is the best way to store flag values in a program?