What is the output of printf("%d")?
Answer Posted / sid
it will give output "0"
Is This Answer Correct ? | 48 Yes | 43 No |
Post New Answer View All Answers
State the difference between pre and post increment/decrement operations.
What is abstraction in c++?
Why do we use templates?
What are the four partitions in which c++ compiler divides the ram?
Write a code/algo to find the frequency of each element in an array?
How come you find out if a linked-list is a cycle or not?
How is data hiding achieved in c++?
What is a set in c++?
Is c++ a difficult language?
What is cin clear () in c++?
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 a memory leak c++?
How the keyword struct is different from the keyword class in c++?
Write a program to interchange 2 variables without using the third one.
Explain the differences between private, public and protected and give examples.