| Other C Interview Questions |
|| Asked @
|write a c program for print your name .but,your name may be
letter mean print a capital letter or your name may be
letter mean print a small letter .example
\\enter ur name :
The name is: SANKAR
enter your name:SAnkar
The name is:saNKAR
|How to convert decimal to binary in C using recursion??
|52.write a “Hello World” program in “c” without using a
53.Give a method to count the number of ones in a 32 bit number?
54.write a program that print itself even if the source file
55.Given an unsigned integer, find if the number is power of 2?
|Given a piece of code
To access the 6th element of the array which of the
following is incorrect?
(A) *(x+5) (B) x (C) ab (D) *(*ab+5} .
|to write a program, that finds the minimum total number of
shelves, including the initial one, required for this
The packets are named A, B, C, D, E ……..
Any numbers of packets with these names could be kept in the
shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK].
All packets are to be loaded on cars. The cars are lined in
order, so that the packets could be loaded on them. The cars
are also named [A, B, C, D, E,………….].
|What is the difference b/w Structure & Union?
|how do we remove the printed character in printf statement
and write next it it
|Write a C program that reads a series of strings and prints
only those ending in "ed"
|write a program wch produces its own source code aas its
|Q. where is the below variables stored ?
- volatile, static, register
|can u write a program in C, which does not use = (eqaul)or
any arithmatic assignment(like -=,+=,*= etc) operator to
swap to number?
|For more C Interview Questions Click Here |