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

How does sizeof know array size?

734


Explain how do you search data in a data file using random access method?

779


What are structures and unions? State differencves between them.

712


What is fflush() function?

749


how to create duplicate link list using C???

2172






What is maximum size of array in c?

676


How would you rename a function in C?

704


How can I recover the file name given an open stream or file descriptor?

699


What are derived data types in c?

704


What is output redirection?

782


What is difference between class and structure?

680


How do I swap bytes?

723


Explain the ternary tree?

693


Can you write a programmer for FACTORIAL using recursion?

703


What is difference between static and global variable in c?

623