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 |
Given a string write a program to print all alphabetical characters in the order of their occurance first,followed by the sum of the numeric characters then followed by the special characters in the order of their occurance.
1 Answers College School Exams Tests, Wipro,
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Do you know what is a programing language ?
how to find out the union of two character arrays?
How can I call a function with an argument list built up at run time?
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4
how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"
program to find middle element of linklist?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is a nested formula?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
What is the difference between strcpy() and memcpy() function in c programming?