C Interview Questions
Questions Answers Views Company eMail

what are the 10 different models of writing an addition program in C language?

1529

biggest of two no's with out using if condition statement

5 5898

what is default constructor?

HCL,

2 3673

4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...

3 4694

how to find anagram without using string functions using only loops in c programming

Mind Tree, TCS,

1 9559

How to removing white spces in c programming only bu using loops

2 3750

how to find anagram without using string functions using only loops in c programming

2823

#include int main() { int i=0,j=1,k=2,m,n=0; m=i++&&j++&&k++||n++; printf("%d,%d,%d,%d,%d",i,j,k,m,n); }

Capital IQ, Sasken,

12 24245

Find the output? void main() {float a=2.0; printf("\nSize of a ::%d",sizeof(a)); printf("\nSize of 2.0 ::%d",sizeof(2.0));}

IBM, TCS,

11 13362

find largest of 3 no

8 8654

write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?

HCL,

5 13502

Is double link list a linear data structure? If Yes, Why?If No, Why?

4 11851

What is pre-emptive data structure and explain it with example?

3322

why we use pointer in c

HCL, TCS,

7 9106

how can i calculate mean,median,mode by using c program

HCL,

1 13283


Post New C Questions

Un-Answered Questions { C }

What are control structures? What are the different types?

691


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

734


Is it valid to address one element beyond the end of an array?

787


Can we declare variables anywhere in c?

675


What is NULL pointer?

748






any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

764


What is the correct code to have following output in c using nested for loop?

693


Explain 'bus error'?

667


What is a pointer variable in c language?

732


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

688


Explain what is the general form of a c program?

703


What is the use of function overloading in C?

776


What is advantage of pointer in c?

798


What are the advantages of using linked list for tree construction?

737


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

5083