| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 |
| int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10
i++;
}
printf("%d", i);
| HCL | 5 |
| why TCS selected more student in the software field from
all institution. | TCS | 3 |
| how many argument we can pas in in a function | CTS | 20 |
| in C-programming language without using printf statement
can we get output r not ? if yes how and if no also how ?
| | 6 |
| Write a program to accept a character & display its
corrosponding ASCII value & vice versa? | | 4 |
| which operator having lowest precedence??
a.)+ b.)++ c.)= d.)%
| | 4 |
| Can u return two values using return keyword? If yes, how?
If no, why? | | 7 |
| hi how to convert program from notepad to turboc editor can
u please help me | | 1 |
| How to find the given no is odd or even without checking of
any condition and loops. (Hint: Using array) | | 4 |
| proc() {
static i=10;
printf("%d",i);
}
If this proc() is called second time, what is the output?
| Hughes | 5 |
| class foo {
public:
static int func(const char*& p) const;
};
This is illegal, why? | Google | 6 |
| What is a class? | | 2 |
| Reverse the part of the number which is present from
position i to j. Print the new number.
eg:
num=789876
i=2
j=5
778986 | | 1 |
| hello friends
what do u mean by BUS ERROR
i got this error while i am doing my program in DATA STRUCTURES | Wipro | 2 |
| write a program to print the all 4digits numbers & whose
squares must me even numbers? | Virtusa | 2 |
| what is array? | HCL | 22 |
| main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
} | TCS | 6 |
| Given an array of characters which form a sentence of
words, give an efficient algorithm to reverse the order of
the words (not characters) in it? | | 3 |
| What are advantages and disadvantages of recursive
calling ? | HP | 11 |
| |
| For more C Interview Questions Click Here |