int a=20;
int b=30;
int c=40;
printf("%d%d%d");
what will be the output?
Answers were Sorted based on User's Feedback
Answer / sangam khera
depending upon the compiler ....
IN TURBO C++ -> it will give an error a,b,c assigned a valued that is never used."
IN GCC(DEV C++)->it will give garbage value....
Is This Answer Correct ? | 2 Yes | 0 No |
What does volatile do?
What is call by reference in functions?
Write a program for Overriding.
What is macro?
What is the difference between exit() and _exit() function in c?
how can i get output like this? 1 2 3 4 5 6
You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?
Tell me when is a void pointer used?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.
What are all different types of pointers in c?