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 self-referential structure in c programming?

0 Answers  


What language is windows 1.0 written?

0 Answers  


What is void c?

0 Answers  


Are c and c++ the same?

0 Answers  


What is pointer to pointer in c language?

0 Answers  






biggest of two no's with out using if condition statement

5 Answers  


1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

3 Answers  


How to print all the 26 alphabets in this order in C. AbCdEfGh..... it should print dynamically from a to z and do not print this using pgm like this print("Ab......"); Use loops or anything to print all alphabets

2 Answers   Hexaware,


formula to convert 2500mmh2o into m3/hr

0 Answers  


Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?

4 Answers   TCS,


Why is main function so important?

0 Answers  


Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.

4 Answers  


Categories