Follow Our FB Page << CircleMedia.in >> 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?

Persistent,

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?

Oracle,

1 3089

What is the relation between # and include

HCL,

5 5607


Post New C Questions






Un-Answered Questions { C }

What do you mean by command line argument?

207


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

206


What does double pointer mean in c?

159


Explain what standard functions are available to manipulate strings?

195


Tell me the use of bit field in c language?

204






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

209


What is null character in c?

152


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

1088


What is typedf?

191


Write a program to reverse a string.

211


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

200


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

209


Why pointers are used in c?

169


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

1177


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

1421