C Interview Questions
Questions Answers Views Company eMail

difference between loading and linking

1 1932

difference between object file and executable file

4063

can we execute the program with the object file

1 1957




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

Wipro,

1699

Diff between for loop and while loop?

TCS,

2 4908

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

Google,

2 14381

Read two numbers from keyboard and find maximum of them?

1 1761

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

1 1676




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

1 2552

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

IBM,

1 5730

what is the difference between static variable and register variable?

3 29532

Example of friendly function in c++

2 4056

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

3 2609

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

3 2479

#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 3864


Post New C Questions






Un-Answered Questions { C }

why return type of main is not necessary in linux

912


Write a C program to count the number of email on text

721


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

859


can any one tel me wt is the question pattern for NIC exam

810


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

822






write a c program for swapping two strings using pointer

1261


diff between exptected result and requirement?

812


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

1446


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.

1434


praagnovation

755


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

252


how many errors in c explain deply

838


how to find anagram without using string functions using only loops in c programming

1882


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

697


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

3518