C Interview Questions
Questions Answers Views Company eMail

how we do lcm of two no using c simple if while or for statement

1 4122

Write a program to find the given number is odd or even without using any loops(if,for,do,while)

CNC, Gokul,

4 8191

what is call by value and call by reference

4 6300

How to find the given no is odd or even without checking of any condition and loops. (Hint: Using array)

4 6492

what is difference between overriding and overloading?

1 3967

what is calloc and malloc?

2 8121

What are local and global variables?

3 3902

What is the scope of static variables?

1 4269

What is the difference between static and global variables?

1 3187

What are volatile variables?

Mind Tree,

1 4235

what is the use of ‘auto’ keyword?

1 3453

How do we make a global variable accessible across files? Explain the extern keyword?

1413

what is a function prototype?

1 3096

what does keyword ‘extern’ mean in a function declaration?

Emerson,

1 4511

how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

TCS,

1483


Post New C Questions

Un-Answered Questions { C }

Is int a keyword in c?

550


What are the data types present in c?

617


What was noalias and what ever happened to it?

586


Calculate 1*2*3*____*n using recursive function??

1505


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

695






What is structure in c definition?

564


What are the different types of errors?

635


What is the size of enum in c?

610


What is a constant and types of constants in c?

594


What math functions are available for integers? For floating point?

614


Can you assign a different address to an array tag?

691


What are valid operations on pointers?

659


Where is c used?

642


What are the types of arrays in c?

617


Explain 'bit masking'?

640