int a=2,b=3,c=4;
printf("a=%d,b=%d\n",a,b,c);
what is the o/p?
Answer Posted / vignesh1988i
A=2,B=3
SINCE THEIR IS NO SPECIFIER FOR SPECIFING THE DATA TYPE OF VARIABLER c so only a & b wil get printed
thank u
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Do you know what are bitwise shift operators in c programming?
What is a constant?
Is there sort function in c?
What is structure in c explain with example?
How can you increase the allowable number of simultaneously open files?
Are c and c++ the same?
Why functions are used in c?
Which is better pointer or array?
How can you tell whether a program was compiled using c versus c++?
while initialization of array why we use a[][2] why not a[2][]...?
How do you define a function?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is array in C