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

C Interview Questions
Questions Answers Views Company eMail

what is output of the following statetment?Printf(“%x”, -1<<4); ?

5 5900

will the program compile? int i; scanf(“%d”,i); printf(“%d”,i);

3 3203

write a string copy function routine?

2 3096

swap two integer variables without using a third temporary variable?


6 6268

how do you redirect stdout value from a program to a file?

1 2238

write a program that finds the factorial of a number using recursion?

Infosys, TATA,

13 26365

write a “Hello World” program in “c” without using a semicolon?

CTS, TCS, Wipro,

9 9603

Give a method to count the number of ones in a 32 bit number?

4 3133

write a program that print itself even if the source file is deleted?

2 5935

Given an unsigned integer, find if the number is power of 2?

5 5429

what is the difference between these initializations? Char a[]=”string”; Char *p=”literal”; Does *p++ increment p, or what it points to?

4 5021

differentiate between const char *a; char *const a; and char const *a;

College School Exams Tests, HCL, TCS,

2 5427

Why cann't whole array can be passed to function as value.

1 2515

Given a single Linked list with lakhs of nodes and length unknown how do you optimally delete the nth element from the list?


1 3089

What is the relation between # and include


5 5607

Post New C Questions

Un-Answered Questions { C }

What do you mean by command line argument?


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)


What does double pointer mean in c?


Explain what standard functions are available to manipulate strings?


Tell me the use of bit field in c language?


Explain how can I remove the trailing spaces from a string?


What is null character in c?


how to write a c program to print list of fruits in alpabetical order?


What is typedf?


Write a program to reverse a string.


How can I prevent another program from modifying part of a file that I am modifying?


Explain how do I determine whether a character is numeric, alphabetic, and so on?


Why pointers are used in c?


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,