| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how to print value of e(exp1)up to required no of digits
after decimal? | | 1 |
| Who is invented by c? | Infosys | 14 |
| program for validity of triangle from 3 side | | 6 |
| Give me basis knowledge of c , c++... | | 4 |
| what is the output of following question?
void main()
{
int i=0,a[3];
a[i]=i++;
printf("%d",a[i]
} | | 2 |
| Given a single Linked list with lakhs of nodes and length
unknown how do you optimally delete the nth element from the
list? | Oracle | 1 |
| what is calloc and malloc? | | 1 |
| #include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output | CitiGroup | 4 |
| biggest of two no's with out using if condition statement | | 2 |
| What character terminates all strings composed of character
arrays?
1) 0
2) .
3) END
| | 3 |
| How can I set an array's size at run time? | | 7 |
| What are the languages are portable and platform
independent?Why they are like that? | Excel | 1 |
| CopyBits(x,p,n,y)
copy n LSBs from y to x starting LSB at 'p'th position. | Adobe | 4 |
| How do I declare a pointer to an array? | | 5 |
| what is the use of #pragma pack, wer it is used? | Wipro | 1 |
| #include <stdio.h>
int main ( int argc, char* argv [ ] )
{
int value1 = 10;
int value2 = 5;
printf ( "\n The sum is :%d", value1 | value2 );
}
This is the answer asked by some one to add two numbers
with out using arithmetic operator?Yes this answer is write
it given out put as 15.But how?????
what is need of following line?
int main ( int argc, char* argv [ ] )
how it work?what is the meaning for this line?
please explain me.Advance thanks | Excel | 4 |
| How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST | Adobe | 2 |
| main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
| CitiGroup | 7 |
| what is real time system?what is the differance between hard
and soft real time systems | | 2 |
| What is false about the following
A compound statement is
a.A set of simple statments
b.Demarcated on either side by curly brackets
c.Can be used in place of simple statement
d.A C function is not a compound statement.
| TCS | 1 |
| |
| For more C Interview Questions Click Here |