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

write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

0 Answers   Google,


What is array of pointers to string?

0 Answers  


What is a macro, and explain how do you use it?

0 Answers  


What is define c?

0 Answers  


How to implement a packet in C

0 Answers   Aricent,






Is javascript written in c?

0 Answers  


What are pointers? What are different types of pointers?

0 Answers   Fidelity,


Explain what is meant by high-order and low-order bytes?

0 Answers  


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

0 Answers  


What is information technology.

1 Answers  


int i=~0; uint j=(uint)i; j++; printf(“%d”,j);

1 Answers  


progrem to generate the following series 1 12 123 1234 12345

6 Answers   HCL, Wipro,


Categories