what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answer Posted / kalpana.y
There will be no output
because,in printf statement the integer variable is
declared but 'ch' is assinged.it should be 'a' insted
of 'ch'.
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What oops means?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
Can a function argument have default value?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
Write a program to swap two numbers without using the third variable?
What is LINKED LIST? How can you access the last element in a linked list?
What is volatile variable in c?
What is the significance of scope resolution operator?
What is auto keyword in c?
How are structure passing and returning implemented?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is structure and union in c?
write a c program in such a way that if we enter the today date the output should be next day's date.
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above