C Interview Questions
Questions Answers Views Company eMail

difference between loading and linking

1 1911

difference between object file and executable file

3948

can we execute the program with the object file

1 1935




Stimulate calculator using Switch-case-default statement for two numbers

Wipro,

1677

Diff between for loop and while loop?

TCS,

2 4871

How to write a C program to determine the smallest among three nos using conditional operator?

Google,

2 14199

Read two numbers from keyboard and find maximum of them?

1 1728

Write a pro-gramme to determine whether the number is even or odd?

1 1643




Find the highest of three numbers and print them using ascending orders?

1 2520

Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?

IBM,

1 5693

what is the difference between static variable and register variable?

3 29178

Example of friendly function in c++

2 4024

What is the difference between %d and %*d in C

3 2578

What is the exact difference between '\0' and ""

3 2435

#include int main() { char *str[]={"Frogs","Do","Not","Die","They","Croak!"}; printf("%d %d\n",sizeof(str),strlen(str)); ...return 0; } what will the output of the above program?

6 3782


Post New C Questions






Un-Answered Questions { C }

how to create duplicate link list using C???

1220


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

1373


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

821


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

929


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

1820






what value is returned to operating system after program execution?

775


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?

937


write a program to find out prime number using sieve case?

797


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

808


c language interview questions & answer

648


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

1079


how to find binary of number?

1752


given post order,in order construct the corresponding binary tree

1553


what is uses of .net

466


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

774