C Interview Questions
Questions Answers Views Company eMail

What's a "sequence point"?

3 7091

Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?

7 11839

What's wrong with "char *p; *p = malloc(10);"?

5 14017

I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.

1 3420

I have a function which accepts a pointer to an int. How can I pass a constant like 5 to it?

3 4990

What does a run-time "null pointer assignment" error mean?

2 7128

what is meant by the "equivalence of pointers and arrays" in C?

Satyam,

3 7841

What is the real difference between arrays and pointers?

Hexaware, Logic Pro, TCS,

27 58936

How do I declare a pointer to an array?

IBM,

6 11951

How can I set an array's size at run time?

9 11677

When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?

Aloha Technology,

2 7554

How does free() know how many bytes to free?

8 18343

What's the difference between calloc() and malloc()?

4 7107

What is alloca() and why is its use discouraged?

1 5808

What are .h files and what should I put in them?

3 5064


Post New C Questions

Un-Answered Questions { C }

.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2007


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

1897


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1455


What are operators in c?

588


Why do we use stdio h and conio h?

645






What is #include stdio h?

689


What do you mean by command line argument?

650


What are comments and how do you insert it in a C program?

748


about c language

1608


write a program in c language to print your bio-data on the screen by using functions.

6255


Explain how can you determine the size of an allocated portion of memory?

629


Why is c called a mid-level programming language?

733


What are lookup tables in c?

552


Difference between MAC vs. IP Addressing

645


What is #include stdlib h?

622