What is the output of printf("%d")?
Answer Posted / vaisakh.r
printf("%d") will printf some garbage value since there is no varible specified in it.so compiler check the argument stack check offset depending on the format specifier print whats on that location, since we can't sure about that value say it will print some garbage value
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use iterators?
Can malloc be used in c++?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
What do you mean by stack unwinding in c++?
How to access a variable of the structure?
Which software is best for coding?
Does c++ have foreach?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
What is the difference between the functions rand(), random(), srand() and randomize()?
What is Destructor in C++?
What do you mean by static variables?
What is a storage class used in c++?
What are the three forms of cin.get() and what are their differences?
Should the this pointer can be used in the constructor?
Can I learn c++ without learning c?