| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the differance between pass by reference and pass
by value. | Infosys | 4 |
| How can I return multiple values from a function? | | 4 |
| What is alloca() and why is its use discouraged? | | 1 |
| write an interactive program to generate the divisors of a
given integer. | TCS | 4 |
| 1.what are local and global variables?
2.what is the scope of static variables?
3.what is the difference between static and global variables?
4.what are volatile variables?
5.what is the use of 'auto' keyword?
6.how do we make a global variable accessible across files?
Explain the extern keyword?
7.what is a function prototype?
8.what does keyword 'extern' mean in a function declaration?
| | 1 |
| what is use#in c | | 3 |
| how to implement stack work as a queue? | | 2 |
| Write a C Programm..
we press 'a' , it shows the albhabetical number is 1, if we
press 'g' it shows the answer 7.. any can help me | | 4 |
| What is the diffences between Windows XP and Windows Visa
| Aricent | 1 |
| Why does not use getgh(); and <conio.h> in c language. | Elofic | 2 |
| what is the use of call back function in c?tell me with
example | | 1 |
| Which of the following data structures is on average the
fastest for retrieving data:
1) Binary Tree
2) Hash Table
3) Stack
| | 3 |
| What is an anonymous union and where to apply that ? | HP | 3 |
| What compilation do? | Geometric-Software | 7 |
| what is diff b/w huge & far & near pointer?? | HCL | 1 |
| writw a program to insert an element in the begning of a
doubly linked list | | 1 |
| What is an volatile variable? | HP | 12 |
| a memory of 20 bytes is allocated to a string declared as
char *s then the following two statements are executed:
s="Etrance"
l=strlen(s);
what is the value of l ?
a.20
b.8
c.9
d.21
| TCS | 4 |
| will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); | | 2 |
| sir,
i cannot find the way how to write aprogram by using
array on queue | IISIT | 1 |
| |
| For more C Interview Questions Click Here |