C Interview Questions
Questions Answers Views Company eMail

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

1 3116

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

CNC, Gokul,

4 5738

what is call by value and call by reference

4 4191




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

4 4152

what is difference between overriding and overloading?

1 2898

what is calloc and malloc?

2 6206

What are local and global variables?

3 2229

What is the scope of static variables?

1 3249




What is the difference between static and global variables?

1 2004

What are volatile variables?

Mind Tree,

1 2963

what is the use of ‘auto’ keyword?

1 2343

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

677

what is a function prototype?

1 1980

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

Emerson,

1 3120

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

TCS,

756


Post New C Questions






Un-Answered Questions { C }

write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

990


Write a program that accept anumber in words

490


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

772


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1088


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

2091






why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

688


simple program of graphics and their output display

730


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

1272


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

1741


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

741


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

874


what is event driven software and what is procedural driven software?

1232


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

1547


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

1890


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

454