C Interview Questions
Questions Answers Views Company eMail

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

1 4284

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

CNC, Gokul,

4 8522

what is call by value and call by reference

4 6652

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

4 6814

what is difference between overriding and overloading?

1 4134

what is calloc and malloc?

2 8323

What are local and global variables?

3 4184

What is the scope of static variables?

1 4426

What is the difference between static and global variables?

1 3341

What are volatile variables?

Mind Tree,

1 4412

what is the use of ‘auto’ keyword?

1 3622

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

1514

what is a function prototype?

1 3259

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

Emerson,

1 4709

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

TCS,

1570


Post New C Questions

Un-Answered Questions { C }

How important is structure in life?

672


What is difference between static and global variable in c?

623


How main function is called in c?

710


a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

763


What is difference between union and structure in c?

671






write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2073


What are pointers?

722


why we wont use '&' sing in aceesing the string using scanf

1903


explain what is a newline escape sequence?

766


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

2909


Explain what is dynamic data structure?

757


please send me the code for multiplying sparse matrix using c

1816


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

932


What is sizeof array in c?

670


What are examples of structures?

692