| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is real time system?what is the differance between hard
and soft real time systems | | 2 |
| Given an array of length N containing integers between 1
and N, determine if it contains any duplicates. | SilverKey | 2 |
| write an algorithm which can find the largest number among
the given list using binary search ...............
this was asked in the interview | Satyam | 2 |
| Write a program for deleting duplicate elements in an array | Subex | 3 |
| Write a program to compute the following
1!+2!+...n! | | 3 |
| what is op?
for(c=0;c=1000;c++)
printf("%c",c); | Trigent | 18 |
| Program to trim a given character from a string. | NetApp | 4 |
| Which of the following about automatic variables within a
function is correct ?
a.its type must be declared before using the variable
b.they are local
c.they are not initialised to zero
d.they are global.
| TCS | 3 |
| can we access one file to one directory? | | 1 |
| what is pointer ? | Kernex-Micro-Systems | 7 |
| please give me answer with details
#include<stdio.h>
main()
{
int i=1;
i=(++i)*(++i)*(++i);
printf("%d",i);
getch();
} | | 3 |
| Dear Sir,
we are required the bubble sorting programs
Regs
Prem | | 1 |
| What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
} | ADITI | 14 |
| what is the maximum no. of bytes calloc can allocate | Mphasis | 2 |
| difference between my-strcpy and strcpy ? | Geometric-Software | 3 |
| two variables are added answer is stored on not for third
variable how it is possible? | | 3 |
| What is an volatile variable? | HP | 12 |
| create an SINGLE LINKED LISTS and reverse the data in the
lists completely | | 3 |
| main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
what is the output? | Ramco | 4 |
| 10. Study the code:
void show()
main()
{
show();
}
void show (char *s)
{
printf("%sn",s);
}
What will happen if it is compiled & run on an ANSI C
Compiler?
A)It will compile & nothing will be printed when it is
executed
B)it will compile but not link
C)the compiler will generate an error
D)the compiler will generate a warning
| Accenture | 4 |
| |
| For more C Interview Questions Click Here |