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

C Interview Questions

Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5396

5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function

TCS,

2742

Why is the code below functioning. According to me it MUST NOT.

2359

write a program in C to swap two variables

6999

mplementation of stack using any programing language

2636

How to find the usage of memory in a c program

3678

How can you print HELLO WORLD without using "semicolon"?

7105

struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]

4736

Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors

3596

Write a program that takes a 5 digit number and calculates 2 power that number and prints it

4165

I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1431

what will be the output off the following program? #include int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }

HCL,

7564

change to postfix a/(b+c*d-e)

4517

write a method for an array in which it can display the largest n next largest value.

2893

write a program to find the largest and second largest integer from an array

7624

Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

4852

Explain how do you determine the length of a string value that was stored in a variable?

178

Can 'this' pointer by used in the constructor?

168

What is the maximum length of an identifier?

183

Which header file is essential for using strcmp function?

171

application attempts to perform an operation?

1035

Why we use void main in c?

116

Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

174

Between macros and functions,which is better to use and why?

1114

What is a static function in c?

162

How do you generate random numbers in C?

187

What is typedef struct in c?

127

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

1211

What is an lvalue?

152

What's the best way of making my program efficient?

165