| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| int *p=20;
if u print like dis printf("%d",p);
o\p:- 20; how is it possible?
plz give me the explanation. | Global-Edge | 11 |
| how to find the kth smallest element in the given list of
array elemnts.
| Silicon | 5 |
| We can draw a box in cprogram by using only one printf();&
without using graphic.h header file? | NIIT | 3 |
| wap to print "hello world" without using the main function. | TCS | 16 |
| c programming of binary addition of two binary numbers
| | 1 |
| Write a program that takes three variables(a,b,c) in as
separate parameters and rotates the values stored so that
value a goes to b,b,to c and c to a | | 3 |
| How to convert a binary number to Hexa decimal number??
(Note:Do not convert it into binary and to Hexadecimal) | Subex | 1 |
| how to convert binary to decimal and decimal to binary in C
lanaguage | | 4 |
| I have a function which accepts, and is supposed to
initialize,a pointer, but the pointer in the caller remains
unchanged. | | 1 |
| Write a program to find the smallest and largest element in
a given array in c language | Microsoft | 3 |
| what is call by value and call by reference | | 2 |
| Please list all the unary and binary operators in C. | | 1 |
| how to make c program without a libary?
e.g.#include<stdio.h> libary is not in c progaram. | | 1 |
| the code is::::: if(condition)
printf("hello");
else
printf("world");
WHAT WILL BE THE CONDITION IN IF IN SUCH A WAY THAT BOTH
HELLO AND WORLD ARE PRINTED IN A SINGLE ATTEMPT?????? SINGLE
ATTEMPT IN THE SENSE... IT MUST FIRST PRINT "HELLO" AND IT
MUST GO TO ELSE PART AND PRINT "WORLD"..... NO LOOPS,
RECURSION ARE ALLOWED........................ | IBM | 9 |
| what is the defrenece between structure and union | | 5 |
| write a program that explain #define and # undef directive | | 1 |
| what is const volatile? | | 1 |
| write a program for even numbers? | | 8 |
| int *a[5] refers to | TCS | 8 |
| c program to add and delete an element from circular queue
using array | | 1 |
| |
| For more C Interview Questions Click Here |