Crack The Campus - Technical Interviews for Tech Companies

Welcome Guest

Search:

C / C++ Interview Questions


11: C++ Code Examples
Q: Write a short code using C++ to print out all odd number from 1 to 100 using a for loop(Asked by Intacct.com people) for( unsigned int i = 1; i < = 100; i++ ) if( i & 0x00000001 )

12: C interview question
   1. What will print out?      main()      {              char *p1=“name”;

13: Good C interview Questions
How do you decide which integer type to use? What should the 64-bit integer type on new, 64-bit machines be? What’s the best way to declare and define global variables? What does extern mean in a fun

14: C++ game developers interview question
Explain which of the following declarations will compile and what will be constant - a pointer or the value pointed at: const char * char const * char * const Note: Ask the candidate whether the fi

15: C interview questions
What does static variable mean? What is a pointer? What is a structure? What are the differences between structures and arrays? In header files whether functions are declared or defined? What are the

16: Programming Interviews Questions
How can you defined OOP?How can you use OOP in your projects/products/applications?What is copy constructor?How many types of copy constructor are there?What shallow copy constructor does/behaves?Does

17: C++ Object Interviews Questions
What is a modifier? A modifier, also called a modifying function is a member function that changes the value of at least one data member. In other words, an operation that modifies the state of an obj

18: Interview questions on C/C++
Q1: Tell how to check whether a linked list is circular. A: Create two pointers, each set to the start of the list. Update each as follows: while (pointer1) { pointer1 = pointer1->next; pointer2 =

19: Windows Programming Interview Questions
What are kernel objects? - - Several types of kernel objects, such as access token objects, event objects, file objects, file-mapping objects, I/O completion port objects, job objects, mailslot object

20: C & C++ Questions for interviews
What is the output of printf(”%d”)What will happen if I say delete thisDifference between “C structure” and “C++ structure”.Diffrence between a “assignment operator” and a “copy constructor”What is th


Page 2 of 3
[1]   [2]   [3]