C Interview Questions
Questions Answers Views Company eMail

Why doesn't C support function overloading?

2 1816

Why n++ execute faster than n+1 ?

2 2015

What are the advantages of Macro over function?

1 1345

What is the difference between struct and union in C?

1 687

What is call by reference in functions?

1 691

What is pass by reference in functions?

392

What is a memory leak? How to avoid it?

1 675

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

1 661

What is typedef?

1 770

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

1 1015

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

1 724

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

1 2994

Add Two Numbers Without Using the Addition Operator

423

Subtract Two Number Without Using Subtraction Operator

424

Multiply an Integer Number by 2 Without Using Multiplication Operator

396


Post New C Questions

Un-Answered Questions { C }

What is meant by realloc()?

745


What does static variable mean in c?

723


What is sizeof int in c?

675


Are the expressions * ptr ++ and ++ * ptr same?

729


Can we use any name in place of argv and argc as command line arguments?

673






How can I list all of the predefined identifiers?

642


What are variables and it what way is it different from constants?

856


is it possible to create your own header files?

698


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1971


Explain the difference between ++u and u++?

711


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

1669


With the help of using classes, write a program to add two numbers.

689


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3124


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1932


What are the scope of static variables?

664