What is the output of printf("%d")?
Answers were Sorted based on User's Feedback
Answer / guest
it is used to print one integer data type value.
Is This Answer Correct ? | 90 Yes | 46 No |
Answer / cooooooool bipul
Hey people
It will not give any syntax error more specifically.. it
will not give any type of error..
The output depends on the compiler u r using...
if it is GCC of linux then O/p== garbage value
there are compilers which will give the last integer value
assigned..
example...
i=30;
printf("%d");
will give ouput 30... but for Gcc it will be garbage value.
Is This Answer Correct ? | 43 Yes | 8 No |
Answer / anand
it will print some value currently on top of the stack
Is This Answer Correct ? | 20 Yes | 7 No |
int main() { int i ,a[i]; i = 0; a[i] = 10; cout<< a[i] << endl; return 0; } What will be output of this program?
Can we use resume in error handling i.e. in the catch block
Is map ordered c++?
Explain the concept of friend function in c++?
Write a single instruction that will find the remainder of integral division when x is divided by y. Have the answer stored in z.
What is the use of :: operator in c++?
What is a v-table?
Comment on assignment operator in c++.
What do you mean by inheritance in c++? Explain its types.
What can I safely assume about the initial values of variables which are not explicitly initialized?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
Write a program in C++ for Fibonacci series
0 Answers Axtria, ITC Indian Tobacco Company,