Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions
Questions Answers Views Company eMail

C program to read the integer and calculate sum and average using single dimensional array

767

main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*

1 1242

4. main() { int c=- -2; printf("c=%d",c); }

900

Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...

2 9281

void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

837

In which layer of the network datastructure format change is done

Honeywell,

952

write a c program for swapping two strings using pointer

1660

cavium networks written test pattern ..

Cavium Networks,

3029

my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

641

what is used instead of pointers in java than c?

Vuram,

1 1601

#include int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }

Zoho,

3 4248

Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17

1878

main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }

Vector, Vector India,

2 7547

#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

649

print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1

Winit,

1 3147


Post New C Questions






Un-Answered Questions { C }

What is putchar() function?

194


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

205


How many header files are in c?

141


What is the difference between fread buffer() and fwrite buffer()?

224


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1292






How is a structure member accessed?

181


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1175


Can we declare variable anywhere in c?

131


write a progrmm in c language take user interface generate table using for loop?

1141


What is the use of function overloading in C?

235


What are qualifiers and modifiers c?

150


What is union in c?

175


What is a good data structure to use for storing lines of text?

173


Why static variable is used in c?

141


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1520