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 7490

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 3076

what is an array

5 5637

progrem to generate the following series 1 12 123 1234 12345

HCL, Wipro,

6 42199

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

HCL,

3 9478

who is the father of C Language?

CTS, UST,

20 28341

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 4225

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

4 6114

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 3008

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 7108

Hi can anyone tell what is a start up code?

CTS,

1650

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

1 2936

what are the advantages & disadvantages of unions?

2 37467

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

2 10357

can anyone please tell about the nested interrupts?

1712


Post New C Questions

Un-Answered Questions { C }

Explain what are run-time errors?

642


What is action and transformation in spark?

629


What is derived datatype in c?

675


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1713


How will you write a code for accessing the length of an array without assigning it to another variable?

652






Why we not create function inside function.

1791


Differentiate between calloc and malloc.

804


Write a Program to find whether the given number or string is palindrome.

651


Can 'this' pointer by used in the constructor?

644


What is the difference between %d and %i?

631


Explain what is wrong with this program statement?

660


List a few unconditional control statement in c.

595


What is property type c?

636


What is class and object in c?

621


What are the benefits of c language?

686