What is the output of printf("%d")?
Answer Posted / shruthi
the o/p is 0.
| Is This Answer Correct ? | 7 Yes | 11 No |
Post New Answer View All Answers
what is data encapsulation in C++?
what is COPY CONSTRUCTOR and what is it used for?
Which coding certification is best?
What is a c++ class?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
What is the best c++ ide?
When do we use copy constructors?
Why is the function main() special?
How do you differentiate between overloading the prefix and postfix increments?
Difference between declaration and definition of a variable.
What is the difference between structure and class?
What is a namespace in c++?
What is the difference between passing by reference and passing a reference?
Can we specify variable field width in a scanf() format string? If possible how?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)