| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Write a C++ program without using any loop (if, for, while
etc) to print numbers from 1 to 100 and 100 to 1;
| | 7 |
| Why preprocessor should come before source code?
| | 2 |
| What is Heap? | | 3 |
| what are brk, sbrk?
| Oracle | 1 |
| Write code for initializing one dimentional and two
dimentional array in a C Program? | Deshaw | 5 |
| what is the difference between
const char *p, char const *p, const char* const p
| Accenture | 4 |
| 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 |
| Determine if a number is a power of 2 at O(1). | | 1 |
| N O S I E R
+ A S T R A L
----------------
7 2 5 6 1 3 | Honeywell | 2 |
| different between overloading and overriding | | 3 |
| How can I convert integers to binary or hexadecimal? | | 2 |
| main()
{
printf(5+"Vidyarthi Computers");
} | | 6 |
| Difference Between embedded software and soft ware? | Bosch | 1 |
| what is volatile in c language? | TCS | 1 |
| which of the following go out of the loopo if expn 2
becoming false
a.while(expn 1){...if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;...}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}
| TCS | 2 |
| write a program for even numbers? | | 8 |
| main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
} | TCS | 6 |
| how many header file is in C language ? | | 14 |
| i want to job in your company, so how it will be possible. | TCS | 2 |
| What are Storage Classes in C ? | HP | 15 |
| |
| For more C Interview Questions Click Here |