what are the general concepts of c and c++

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c++ used for today?

649


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1872


What is the meaning of c in c language?

586


What is the best way to comment out a section of code that contains comments?

761


What is meant by preprocessor in c?

520






Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

731


What extern c means?

525


Why does not c have an exponentiation operator?

618


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5451


What is hashing in c language?

594


what do you mean by inline function in C?

603


what will be maximum number of comparisons when number of elements are given?

1395


Does c have circular shift operators?

708


Explain spaghetti programming?

672


What is the difference between text files and binary files?

661