| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Study the Following Points:
a.One Cannot Take the address of a Bit Field
b.bit fields cannot be arrayed
c.Bit-Fields are machine Dependant
d.Bit-fields cannot be declared as static
1. Which of the Following Statements are true w.r.t Bit-
Fields
A)a,b&c B)Only a & b C)Only c D)All
| Accenture | 1 |
| write a program to find out number of on bits in a number?
| Huawei | 11 |
| What is the output for the following program
#include<stdio.h>
main()
{
char a[5][5],flag;
a[0][0]='A';
flag=((a==*a)&&(*a==a[0]));
printf("%d\n",flag);
}
| ADITI | 3 |
| Write code for initializing one dimentional and two
dimentional array in a C Program? | Deshaw | 5 |
| biggest of two no's with out using if condition statement | | 2 |
| Can we write a program without main() function? | | 6 |
| Can we access RAM?
How? Whats the range of access?
Similarly What are other hardware we can access? | | 1 |
| Print all numbers which has a certain digit in a certain
position
eg:
number=45687
1 number=4
2 number=5
etc | | 1 |
| write a fuction for accepting and replacing lowercase
letter to'Z' with out using inline function. | Temenos | 3 |
| WAP to accept first name,middle name & last name of a
student display its initials? | NIIT | 1 |
| i want explaination about the program and its stack reprasetaion
fibbo(int n)
{
if(n==1 or n==0)
return n;
else
return fibbo(n-1)+fibbo(n-2);
}
main()
{
fibbo(6);
}
| | 2 |
| post new interiew question and aptitude test papers | | 1 |
| Which is not valid in C?
1) class aClass{public:int x;}
2) /* A comment */
3) char x=12;
| | 4 |
| How to calculate Total working time using Login and
logout? | Wipro | 2 |
| WHY DO WE USE A TERMINATOR IN C LANGUAGE? | | 2 |
| Design a program using an array that lists even numbers and
odd numbers separately from the 12 numbers supplied by a user. | | 4 |
| Software Interview Questions | CAT | 1 |
| write a C program to print the program itself ?! | TCS | 6 |
| why i join syntel? | Syntel | 11 |
| 1.find the second maximum in an array?
2.how do you create hash table in c?
3.what is hash collision | Qualcomm | 3 |
| |
| For more C Interview Questions Click Here |