| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What are the phases in s/w developed life cycle?
wat is the diff b/w stack & queue...where do we use stack | | 5 |
| How do I declare a pointer to an array? | | 5 |
| pgm to reverse string using arrays i.e god is love becomes
love is god)
(assumption:only space is used for seperation of words)
no addtional memory used.i.e no temporary arrays can used. | Persistent | 4 |
| char ch="{'H','I',0};printf("%s",ch);what is output | Accenture | 9 |
| What are volatile variables? | | 1 |
| What does the message "warning: macro replacement within a
string literal" mean? | | 1 |
| What is macro? | IBM | 4 |
| What is the relation between # and include<stdio.h> | HCL | 3 |
| What compilation do? | Geometric-Software | 7 |
| write a program to search for an element in a given array.
If the array was found then display its position otherwise
display appropriate message in c language | | 3 |
| without a terminator how can we print a message in a printf
() function. | NIIT | 5 |
| Is main() function predfined or userdefined? | | 7 |
| What is meant by
int fun const(int a, int b) {
....
...
}
| | 1 |
| I have a function which accepts, and is supposed to
initialize,a pointer, but the pointer in the caller remains
unchanged. | | 1 |
| Struct(s)
{
int a;
long b;
}
Union (u)
{int a;
long b;
}
Print sizeof(s)and sizeof(u) if sizeof(int)=4 and
sizeof(long)=4
| Mascot | 2 |
| what is meant by the "equivalence of pointers and arrays" in
C? | Satyam | 3 |
| Write a program to accept a character & display its
corrosponding ASCII value & vice versa? | | 4 |
| totally how much header files r in c language | TCS | 4 |
| Which of the following are valid "include" formats?
A)#include and #include[file.h]
B)#include (file.h) and #include
C)#include [file.h] and #include "file.h"
D)#include <file.h> and #include "file.h"
| Accenture | 14 |
| what are two categories of clint-server application
development ? | | 1 |
| |
| For more C Interview Questions Click Here |