| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| main()
{
printf(5+"good morning");
printf("%c","abcdefgh"[4]);
}the o/p is morning and e...how someone explain | | 1 |
| program to find the second largest word in a paragraph
amongst all words that repeat more thn twice | iGate | 3 |
| write program on arrays
| GE | 2 |
| Difference Between embedded software and soft ware? | Bosch | 1 |
| I use turbo C which allocates 2 bytes for integers and 4
bytes for long. I tried to declare array of size 500000 of
long type using the following code...
long *arr;
arr=(long *)(malloc)(500000 * sizeof(long));
It gives a warning that "Conversion may lose significant
digits in function main"...
And the resulting array size was very less around 8400 as
compared to 500000. Any suggestions will be welcomed....
| | 2 |
| How can I allocate arrays or structures bigger than 64K? | | 4 |
| Find Error if any in below code, Justify ur answer:
struct xx
{
int a;
struct yy
{
char c;
struct xx* p;
}
struct yy* q;
} | NDS | 3 |
| I have a function which accepts, and is supposed to
initialize,a pointer, but the pointer in the caller remains
unchanged. | | 1 |
| what is the definition of storage classes? | Wipro | 2 |
| write a program to sort the elements in a given array in c
language | | 2 |
| plz answer.... write a program that reads line (using
getline) e.g."345", converts each line to an integer
using "atoi" and computes the average of all the numbers
read. also compute the standard deviation. | | 1 |
| simple c program for 12345 convert 54321 with out using string | | 5 |
| The differences between Windows XP and Windows Visa
| HCL | 7 |
| how to find turn around time in operating system? | | 1 |
| True or false: If you continuously increment a variable, it
will become negative?
1) True
2) False
3) It depends on the variable type
| | 5 |
| What do you mean by team?? | | 2 |
| Average of a couple 10 years ago was 25. The average
remains same after having a child and twins after 3 years.
What is the present age of the first child | IBM | 9 |
| write a c program to print a given number as odd or even
without using loop statements,(no if ,while etc) | | 4 |
| Please list all the unary and binary operators in C. | | 1 |
| how many error occurs in C language ? | Wipro | 11 |
| |
| For more C Interview Questions Click Here |