| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How can I convert integers to binary or hexadecimal? | | 2 |
| main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}
| ME | 2 |
| helllo sir
give me some information of the basic information the
c as printf ,scanf , %d ,%f and why is the main use of
these. | | 3 |
| how to find that no is int or float? | | 4 |
| can i know the source code for reversing a linked list with
out using a temporary variable?
| Honeywell | 3 |
| i want to know aptitude questions,technical questions | | 1 |
| How to add two numbers without using arithmetic operators? | Sapient | 7 |
| a=0;
while(a<5)
printf("%d\n",a++);
how many times does the loop occurs?
a.infinite
b.5
c.4
d.6
| TCS | 2 |
| what is meant by c | | 4 |
| main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
what is the output? | Ramco | 4 |
| Find Index of least significant bit set in an Integer. ex.
int value is say 10001000 results should be 4. | | 1 |
| how to implement stack work as a queue? | | 2 |
| study the code:
#include<stdio.h>
void main()
{
const int a=100;
int *p;
p=&a;
(*p)++;
printf("a=%dn(*p)=%dn",a,*p);
}
What is printed?
A)100,101 B)100,100 C)101,101 D)None of the
above | Accenture | 12 |
| what is the different between if-else and switch statment
(other than syntax) | CTS | 9 |
| How the C program can be compiled? | HP | 6 |
| Write a C Programm..
we press 'a' , it shows the albhabetical number is 1, if we
press 'g' it shows the answer 7.. any can help me | | 2 |
| What is alloca() and why is its use discouraged? | | 1 |
| if a person is buying coconuts of Rs10,and then sell that
coconuts of Rs9,with the loss of one rupee.After that the
person became a millaniore.how? | Wipro | 5 |
| what is the diference between pointer to the function and
function to the pointer? | | 1 |
| What is the main differences between C and Embedded C? | | 1 |
| |
| For more C Interview Questions Click Here |