C Interview Questions
Questions Answers Views Company eMail

What is the difference between void main() and int main()?

1 386

What are static functions?

1 319

How to avoid buffer overflow?

1 309

What are function pointers? Provide an example.

1 327

Explain command-line arguments in C.

1 305

What are static variables, and where are they stored?

2 270

What is a const pointer, and how does it differ from a pointer to a const?

2 242

. Explain the differences between fork() and exec() in C

2 448

How does the C program handle segmentation faults?

2 538

What is the difference between malloc() and realloc()?

2 471

Explain the concept of "dangling pointers" in C.

2 592

How do you prevent buffer overflows in C?

2 553

What is the restrict keyword in C?

2 378

Explain the difference between struct and union.

2 420

What is the purpose of #pragma directives in C?

2 452


Post New C Questions

Un-Answered Questions { C }

How can my program discover the complete pathname to the executable from which it was invoked?

851


When should structures be passed by values or by references?

820


Explain what is meant by 'bit masking'?

873


Is c still used?

796


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

878


pierrot's divisor program using c or c++ code

1962


Explain heap and queue.

801


Explain how can you be sure that a program follows the ansi c standard?

1132


What are extern variables in c?

735


Which type of language is c?

830


What is an identifier?

810


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2125


What does c mean before a date?

842


Difference between linking and loading?

887


What is a #include preprocessor?

816