C Interview Questions
Questions Answers Views Company eMail

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

498

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

1 769

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

632




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

2 6704

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

523

In which layer of the network datastructure format change is done

Honeywell,

594

write a c program for swapping two strings using pointer

1410

cavium networks written test pattern ..

Cavium Networks,

2624




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

388

what is used instead of pointers in java than c?

Vuram,

1 641

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

Zoho,

3 1865

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

1042

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

Vector, Vector India,

1 3949

#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

378

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

Winit,

1 1282


Post New C Questions






Un-Answered Questions { C }

write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

1391


please explain every phase in the "SDLC" in the dotnet.

1497


how to execute a program using if else condition and the output should enter number and the number is odd only...

944


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

784


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

950






what is the basis for selection of arrays or pointers as data structure in a program

3108


write a program to generate address labels using structures?

1601


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

796


what is the difference between class and unio?

1179


C program to find all possible outcomes of a dice?

1234


why wipro wase

1123


Which is the memory area not included in C program? give the reason

862


i want to know the procedure of qualcomm for getting a job through offcampus

1298


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

940


How to implement a packet in C

1673