what are the general concepts of c and c++

Answers were Sorted based on User's Feedback



what are the general concepts of c and c++..

Answer / vadivel t

Hi Vignesh,

All the answers u hav posted is correct except declaration
of a variable.

Cos, in C++ we can declare a variable anywhere in a
function.

But in C it is poosible to declare only at the starting of
the function.

Is This Answer Correct ?    3 Yes 0 No

what are the general concepts of c and c++..

Answer / vignesh1988i

CONCEPTS OF 'C' :

Basics dealing with declaration of variables and constants....

Control Structures (if, if-else , switch)
Looping structures (for,while,do-while)
ARRAYS
Macros and CONSTANTS
POINTERS
STRUCUTRES & UNIONS
FILES
FUNCTIONS (Sub routines)
etc....

in C++ :
OOPS


thank u

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

What is the purpose of the statement: strcat (S2, S1)?

0 Answers  


What are 3 types of structures?

0 Answers  


Can i use “int” data type to store the value 32768? Why?

0 Answers  


2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 Answers   Accenture,


what is the difference between while and do while?

2 Answers  






Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

0 Answers  


what is difference between ++(*p) and (*p)++

17 Answers   Accenture, HCL, IBM,


What is the purpose of ftell?

0 Answers  


What is the difference between exit() and _exit() function?

0 Answers  


Write the Program to reverse a string using pointers.

0 Answers   InterGraph,


Is c a great language, or what?

0 Answers  


Why doesnt the call scanf work?

0 Answers  


Categories