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 18696

what are difference between c and c++?

Accenture,

9 11985

how to access grid view row?

2179

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

Microsoft,

1 5976

founder of c++

Microtek, TCS, TeleCommand,

7 12631

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

Yahoo,

2284

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

Yahoo,

1 6824

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

emc2,

8 10438

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

1 9142

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 4802

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

1962

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;

1974

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

1 2991

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

2 4071


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is the use of pointer in c++ with example?

995


how to explain our contribution in the project?

3647


How can you specify a class in C++?

1227


What is the use of typedef?

1051


What is the arrow operator in c++?

960


What is a pointer with example?

1177


Do you know the problem with overriding functions?

1045


Is ca high or low level language?

1032


What are the advantages of inheritance in c++?

1055


Are strings mutable in c++?

1098


Explain abstraction.

1044


Implement stack operations with pointers with appropriate exception checks.

937


What is the use of volatile variable?

1034


What is a unnitialised pointer?

1021


What information can an exception contain?

1102