Crack The Campus - Technical Interviews for Tech Companies

Welcome Guest

Search:

C / C++ Interview Questions


21: Embedded Firmware Interview Questions
Write function in C that gets array of chars, and search for the longest sequence of repeatedly 1 bits. It returns the the first bit place in the sequence and the number of 1 bits in the sequence. - (

22: C++ Notes
1. What is the output of printf(“%d”)?         1. %d helps to read integer data type of a given variable         2. whe

23: C++ Interviews Questions
What is the difference between an ARRAY and a LIST?What is faster : access the element in an ARRAY or in a LIST?Define a constructor - what it is and how it might be called (2 methods).Describe PRIVAT

24: C Questions for hardware engineer
What are the total number of lines written in C/C++? What is the most complicated/valuable program written in C/C++?What compiler was used?Have you studied buses? What types?Have you studied pipelinin

25: C++ Developers Question
Will the following program execute?void main() { void *vptr = (void *) malloc(sizeof(void)); vptr++; }How about this one? void main() { char *cptr = 0?2000; long *lptr = 0?2000; cptr++; lptr++;

26: Tricky C Questions
How do you write a program which produces its own source code as its output?How can I find the day of the week given the date?Why doesn’t C have nested functions?What is the most efficient way to coun

27: Hardware Architecture Interview Questions
Are you familiar with the term MESI?Are you familiar with the term snooping?Describe a finite state machine that will detect three consecutive coin tosses (of one coin) that results in heads.In what c


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