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 7459

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 3032

what is an array

5 5547

progrem to generate the following series 1 12 123 1234 12345

HCL, Wipro,

6 42006

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

HCL,

3 9391

who is the father of C Language?

CTS, UST,

20 27937

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 4166

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

4 6021

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 2961

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 7015

Hi can anyone tell what is a start up code?

CTS,

1624

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

1 2875

what are the advantages & disadvantages of unions?

2 37399

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

2 10291

can anyone please tell about the nested interrupts?

1684


Post New C Questions

Un-Answered Questions { C }

What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

1788


How many bytes is a struct in c?

732


What was noalias and what ever happened to it?

597


What is c basic?

607


Can the “if” function be used in comparing strings?

599






What is C language ?

1533


What is the difference between Printf(..) and sprint(...) ?

793


What is the symbol indicated the c-preprocessor?

702


Explain what are run-time errors?

614


How do you write a program which produces its own source code as output?

615


Write a code to remove duplicates in a string.

635


What is the use of clrscr?

604


How is a null pointer different from a dangling pointer?

563


Why can’t we compare structures?

818


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

663