| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| the format specified for hexa decimal is
a.%d
b.%o
c.%x
d.%u
| TCS | 4 |
| What are the uses of pre-processor directives? | | 2 |
| if the address of a[1,1] and a[2,1] are 1000 and 1010
respectively and each occupies 2 bytes then the array has
been stored in what order? | | 3 |
| what type of language is C? | Microsoft | 2 |
| Write a program for the following series?
1
121
12321
1234321
123454321
12345654321
1234567654321
123456787654321
12345678987654321
1234567890987654321
123456789010987654321
12345678901210987654321
1234567890123210987654321
.........1234321............
..........123454321............
..........12345654321............
7
8
9
0
1
Pls............? | | 2 |
| what is difference between c and c++ | | 3 |
| program to get the remainder and quotant of given two
numbers with out using % and / operators? | IBM | 8 |
| Go through the following code sinippet
char a[20];
a="Hello Orcale Test";
will this compile?
| Oracle | 3 |
| How do I access command-line arguments? | Wipro | 2 |
| parkside's triangle..
create a program like this..
enter the size: 6
enter the seed: 1
output:
1
23
456
7891
23456
789123
sample2:
enter the size: 5
enter the seed: 3
output:
3
45
678
9123
45678
parkside should not exceed 10 while its seed should only be
not more than 9.. | | 4 |
| Difference between Class and Struct.
| Motorola | 6 |
| hat is a pointer? | Assurgent | 3 |
| Software Interview Questions | CAT | 1 |
| Program to display given 3 integers in ascending order | N-Tech | 1 |
| write a program to find out number of on bits in a number?
| Huawei | 12 |
| write a program to swap bits in a character and return the value
prototype of function
char fun (char a, charb flag c)
where fun returns a char, char a is a the value char b is
the bit to be changed and flag c is the bit value
for eg: x=fun(45,7,0)
since 45 is 0010 0101
and ow x should contain the value 65 (0110 0101) | Bosch | 1 |
| Here is alphabets : abcdefgh
1) how to reverse. as hgfedcba
2) after reversal, how to group them in a pair hg fe dc ba.
| | 2 |
| find largest element in array w/o using sorting techniques. | Zycus-Infotech | 2 |
| can anyone proide me reading material on
svit00ef27@yahoo.com please thanx in advance
| IBM | 1 |
| main is a predefined or user define function
if user defined why?
if predefined whay? | TCS | 2 |
| |
| For more C Interview Questions Click Here |