What is the Difference between "C structure" and "C++
structure"?

Answer Posted / shweta iyer

In C, the header file used for input/output is #include<stdio.h>

whereas in C++, the header file used for input/output is
#include<iostream.h>

Is This Answer Correct ?    4 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data structure in c++?

662


What is endl?

637


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.

1746


Explain public, protected, private in c++?

567


What are guid? Why does com need guids?

570






What is scope operator in c++?

567


What is iostream in c++ used for?

549


What is static in c++?

594


what is data abstraction in C++?

650


What are references in c++?

662


How do you establish an is-a relationship?

621


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

551


What are friend classes?

616


What are single and multiple inheritances in c++?

581


What do you mean by global variables?

572