C Interview Questions
Questions Answers Views Company eMail

Why doesn't C support function overloading?

2 1596

Why n++ execute faster than n+1 ?

2 1825

What are the advantages of Macro over function?

1 1182

What is the difference between struct and union in C?

1 559

What is call by reference in functions?

1 551

What is pass by reference in functions?

315

What is a memory leak? How to avoid it?

1 561

What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1 545

What is typedef?

1 657

Why is it usually a bad idea to use gets()? Suggest a workaround.

1 890

What are dangling pointers? How are dangling pointers different from memory leaks?

1 611

What is the difference between ā€˜gā€™ and ā€œgā€ in C?

1 2493

Add Two Numbers Without Using the Addition Operator

349

Subtract Two Number Without Using Subtraction Operator

346

Multiply an Integer Number by 2 Without Using Multiplication Operator

310


Post New C Questions

Un-Answered Questions { C }

What is the difference between functions abs() and fabs()?

641


What is the difference between local variable and global variable in c?

677


Does sprintf put null character?

587


What are header files in c?

604


What do you mean by c what are the main characteristics of c language?

560






how do you programme Carrier Sense Multiple Access

1510


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

555


What is C language ?

1517


What is the difference between constant pointer and constant variable?

740


What are directives in c?

537


Why do we use header files in c?

569


What is the best way to comment out a section of code that contains comments?

772


How to find a missed value, if you want to store 100 values in a 99 sized array?

803


What is meant by initialization and how we initialize a variable?

579


What is the purpose of the statement: strcat (S2, S1)?

636