Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C++ General Interview Questions
Questions Answers Views Company eMail

Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)

HTC, TCS,

4 18848

what are difference between c and c++?

Accenture,

9 12247

how to access grid view row?

2239

how to create window program in c++.please explain.

Microsoft,

1 6037

founder of c++

Microtek, TCS, TeleCommand,

7 12863

How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

Yahoo,

2311

What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?

Yahoo,

1 6897

How do you initialize a class member, class x { const int i; };

emc2,

8 10720

advantages and disadvantages of using Borland C++ / version 5.

1 9228

Read the following program carefully and write the output of the program. Explain each line of code according to given numbering. #include #include #include #include 1……………… int main (void) { pid_t pid; 2………………………… pid = fork(); 3…………………………. if (pid > 0) { int i; 4………………………… for (i = 0; i < 5; i++) { 5………………… …………… printf(" I AM VU : %d\n", i); 6………………… …………… sleep(1); } exit(0); } 7………………… ……… else if (pid == 0) { int j; for (j = 0; j < 5; j++) { 8……………………………… printf(" I have no child: %d\n", j); sleep(1); } _exit(0); } else { 9………………………………fprintf(stderr, "can't fork, error %d\n", errno); 10……………… … ………… exit (EXIT_FAILURE); } }

1 4865

write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

2003

write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1894

Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

2014

Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;

1 3045

Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;

2 4155


Post New C++ General Questions

Un-Answered Questions { C++ General }

Can we use this pointer in a class specific, operator-overloading function for new operator?

1099


What is recursion?

2163


Is it possible for the objects to read and write themselves?

1098


What is the full form of ios?

1066


Are c and c++ different?

980


Do class declarations end with a semicolon? Do class method definitions?

1148


What is the difference between the parameter to a template and the parameter to a function?

1121


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

1019


Explain the difference between static and dynamic binding of functions?

1072


What is fflush c++?

1024


What is the role of copy constructor in copying of thrown objects?

1068


What is the difference between an external iterator and an internal iterator?

1099


What does it mean to declare a member function as static?

1056


What is the c++ code?

1148


What is a dynamic binding in c++?

954