C interview questions – page 5
2,130 questions. Tap “Show answer” to check yourself.
-
difference between memcpy and strcpy
-
What's the best way to declare and define global variables?
-
what is the difference between and "stdio.h"
-
which will be first in c compiling ,linking or compiling ,debugging.
-
Write a program in C to convert date displayed in gregorian to julian date
-
WAP – represent a char in binary format
-
Give a fast way to multiply a number by 7
-
How the C program can be compiled?
-
What are the preprocessors?
-
what are the various memory handling mechanisms in C ?
-
what is a function pointer and how all to declare ,define and implement it ???
-
How to implement variable argument functions ?
- Advertisement
-
What are advantages and disadvantages of recursive calling ?
-
What is an anonymous union and where to apply that ?
-
What is structure packing ?
-
How to implement call back functions ?
-
How the processor registers can be used in C ?
-
What is an volatile variable?
-
How to access or modify the const variable in c ?
-
What is structure padding ?
-
What are the total number of lines written by you in C/C++? What is the most complicated or valuable program written in C/C++?
-
What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)?
-
When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?
-
How do you test your code?
- Advertisement
-
Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.
-
Definition of class?
-
const char * char * const What is the differnce between the above two?
-
1)#include int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i
-
what is pulse code modulation?
-
wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster