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 18691

what are difference between c and c++?

Accenture,

9 11967

how to access grid view row?

2178

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

Microsoft,

1 5972

founder of c++

Microtek, TCS, TeleCommand,

7 12618

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

Yahoo,

2281

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

Yahoo,

1 6817

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

emc2,

8 10423

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

1 9139

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 4793

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

1960

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

1833

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

1972

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

1 2987

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

2 4064


Post New C++ General Questions

Un-Answered Questions { C++ General }

How does a C++ structure differ from a C++ class?

1076


What is a c++ map?

1313


Can we use clrscr in c++?

1033


What is the use of cmath in c++?

1015


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

4076


What are shallow and deep copy?

1056


What are the manipulators in c++?

990


What do you mean by storage classes?

1515


What is the difference between C and CPP?

1109


What are the data types in c++?

893


Can you use the function fprintf() to display the output on the screen?

1200


Difference between an inspector and a mutator

1281


Can a function take variable length arguments, if yes, how?

967


Tell me what are static member functions?

1044


What do you mean by delegate? Can a user retain delegates?

888