| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| pgm to find middle element of linklist(in efficent manner) | Huawei | 2 |
| main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
} | TCS | 6 |
| Sir i want e-notes of C languge of BAlaguruswami book i.e
scanned or pdf file of balaguruswamy book on c
language.PLEASE SEND ME on my mail id ajit_kolhe@rediff.com
| | 4 |
| Define function ?Explain about arguments? | Geometric-Software | 2 |
| What does extern mean in a function declaration? | | 2 |
| 2. Counting in Lojban, an artificial language developed
over the last fourty years, is easier than in most languages
The numbers from zero to nine are:
0 no
1 pa
2 re
3 ci
4 vo
5 mk
6 xa
7 ze
8 bi
9 so
Larger numbers are created by gluing the digit togather.
For Examle 123 is pareci
Write a program that reads in a lojban string(representing
a no less than or equal to 1,000,000) and output it in
numbers.
| Nagarro | 2 |
| 4.A function 'q' that accepts a pointer to a character as
argument and returns a pointer to an array of integer can
be declared as:
A)int (*q(char*)) []
B)int *q(char*) []
C)int(*q)(char*) []
D)None of the Above
| Accenture | 4 |
| How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST | Adobe | 2 |
| char ch=10;printf("%d",ch);what is the output | Accenture | 11 |
| Difference Between embedded software and soft ware? | Bosch | 1 |
| Is it possible to run a c program without using main?If yes
HOW?? | Wipro | 10 |
| what is the different between if-else and switch statment
(other than syntax) | CTS | 9 |
| Difference between null pointer and dangling pointer? | Wipro | 3 |
| What are the preprocessors? | HP | 6 |
| Write a program to generate prime factors of a given integer? | | 1 |
| design and implement a program that reads floating-points
numbers in a sentinel-controlled loop until the user
terminates the program by entering zero.your program should
determinate and print the smallest,largest and average of
the supplied numbers. | | 1 |
| write a function which accept two numbers from main() and
interchange them using pointers? | | 3 |
| how to convert binary to decimal and decimal to binary in C
lanaguage | | 4 |
| N O S I E R
+ A S T R A L
----------------
7 2 5 6 1 3 | Honeywell | 2 |
| consider the following structure:
struct num nam{
int no;
char name[25];
};
struct num nam
n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}};
.....
.....
printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1);
What does the above statement print?
a.8,9
b.9,9
c.8,8
d.8,unpredictable value
| TCS | 3 |
| |
| For more C Interview Questions Click Here |