C Interview Questions
Questions Answers Views Company eMail

diff. between *p and **p

3 6483

can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).

1 2923

what is ANSI and ISO

HCL,

7 7863

what are far pointers?

1 4309

how to swap 2 numbers in a single statement?

3 5637

how to swap 2 numbers within a single statement?

4 7155

i have a written test for microland please give me test pattern

Microland,

2472

what is the meaning of 'c' language

3 5260

#include void main() { int a [5]; for (i=0; i<=4; i++) printf(“%d” ,a[i]); }

8 10733

Write a program using bitwise operators to invert even bits of a given number.

2 8527

Write a program to find whether the given number is prime or not?

6 10992

Write a program to print the prime numbers from 1 to 100?

7 35076

In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?

5 6497

how to TOGGLE Nth bit of variable in a MACRO

NDS,

1 8678

write a c program to find the square of a 5 digit number and print the result.

Accenture, Sasken, Vimukti Technologies,

5 19310


Post New C Questions

Un-Answered Questions { C }

how can I convert a string to a number?

795


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2061


Define the scope of static variables.

822


Why do we use c for the speed of light?

812


Explain modulus operator. What are the restrictions of a modulus operator?

814


What is the difference between typedef struct and struct?

831


Is return a keyword in c?

827


Can you write a programmer for FACTORIAL using recursion?

802


Why is struct padding needed?

817


Explain how can you avoid including a header more than once?

819


What is c language used for?

722


How do you do dynamic memory allocation in C applications?

829


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2987


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

981


Is exit(status) truly equivalent to returning the same status from main?

822