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


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Implement bit Array in C.

0 Answers   GrapeCity,


Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


write a program to display & create a rational number

1 Answers   HCL, TCS,


What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none

2 Answers   Oracle,


Explain what is meant by 'bit masking'?

0 Answers  






write the program for prime numbers?

73 Answers   Accenture, Aptech, Infosys, TCS,


what are the advantage and disadvantage of recursion

5 Answers  


How important is structure in life?

0 Answers  


Why can arithmetic operations not be performed on void pointers?

0 Answers  


Software Interview Questions

1 Answers   CAT,


I have a function which accepts a pointer to an int. How can I pass a constant like 5 to it?

3 Answers  


Do you know the purpose of 'register' keyword?

0 Answers  


Categories