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

Is fortran still used today?

0 Answers  


Explain what is gets() function?

0 Answers  


What is the difference between text and binary i/o?

0 Answers  


Explain how do you override a defined macro?

0 Answers  


Is it possible to create recycle bin in mobiles?

2 Answers  






.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

0 Answers   Wilco,


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers   Aspire, Infogain,


What is volatile variable in c?

0 Answers  


from which concept of 'c', the static member function of 'c++' has came?

1 Answers   Bosch,


How to add two numbers without using arithmetic operators?

18 Answers   College School Exams Tests, e track, Infosys, Pan Parag, Sapient, TCS,


What do you mean by c?

0 Answers  


Write a c program to demonstrate Type casting in c?

2 Answers  


Categories