C Interview Questions
Questions Answers Views Company eMail

Write a C program to perform some of the operation which can be performed using Single linked list

Qualcomm,

1 7416

How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.

1 2987

what is an array

5 5410

progrem to generate the following series 1 12 123 1234 12345

HCL, Wipro,

6 41841

what will be printed by this printf? printf("%c",printf("hi")["sharkselva"])); }

HCL,

3 9330

who is the father of C Language?

CTS, UST,

20 27547

a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'

2 4104

what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }

4 5944

what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }

1 2907

int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }

3 6914

Hi can anyone tell what is a start up code?

CTS,

1594

Can anyone tell what is stack overflow? what precaution we should take?

1 2821

what are the advantages & disadvantages of unions?

2 37315

which one is better structure or union?(other than the space occupied )

2 10244

can anyone please tell about the nested interrupts?

1655


Post New C Questions

Un-Answered Questions { C }

write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

1624


If null and 0 are equivalent as null pointer constants, which should I use?

556


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

1876


What are global variables and explain how do you declare them?

543


Explain can you assign a different address to an array tag?

616






illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

1551


Write a program to generate the Fibinocci Series

633


How many types of errors are there in c language? Explain

550


What is a scope resolution operator in c?

722


What is memory leak in c?

604


code for quick sort?

1584


What are examples of structures?

565


int i=10; printf("%d %d %d", i, i=20, i);

990


Why static is used in c?

597


Is c call by value?

579