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


Please Help Members By Posting Answers For Below Questions

State the difference between pre and post increment/decrement operations.

607


What is abstraction in c++?

677


Why do we use templates?

595


What are the four partitions in which c++ compiler divides the ram?

698


Write a code/algo to find the frequency of each element in an array?

603






How come you find out if a linked-list is a cycle or not?

571


How is data hiding achieved in c++?

567


What is a set in c++?

531


Is c++ a difficult language?

576


What is cin clear () in c++?

610


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.

1744


What is a memory leak c++?

590


How the keyword struct is different from the keyword class in c++?

582


Write a program to interchange 2 variables without using the third one.

584


Explain the differences between private, public and protected and give examples.

564