| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| f(x,y,z)
{
y = y+1;
z = z+x;
}
main()
{
int a,b;
a = 2
b = 2;
f(a+b,a,a);
print a;
}
what is the value of 'a' printed | | 4 |
| What is the relation between # and include<stdio.h> | HCL | 3 |
| what is array? | | 6 |
| program for comparing 2 strings without strcmp() | | 3 |
| fun(int x)
{
if(x > 0)
fun(x/2);
printf("%d", x);
}
above function is called as:
fun(10);
what will it print?
} | NDS | 13 |
| how can we use static and extern?and where can we use this? | Excel | 3 |
| What are volatile variables? | | 1 |
| a 'c' program to tell that the set of three coordinates lie
on a same line | Persistent | 1 |
| differentiate between
const char *a;
char *const a; and
char const *a;
| HCL | 1 |
| Explain following declaration
int *P(void);
and
int (*p)(char *a);
| | 2 |
| How to access or modify the const variable in c ? | HP | 4 |
| 1.write a program to merge the arrays
2.write efficient code for extracting unique elements from a
sorted list of array? | Qualcomm | 2 |
| what is the advantage of using SEMAPHORES to ORDINARY
VARIABLES??? | NSN | 1 |
| WAP to accept first name,middle name & last name of a
student display its initials? | NIIT | 2 |
| how to print a statement in c without use of console
statement ,with the help of if statement it should print
| Satyam | 2 |
| HOW DO YOU HANDLE EXCEPTIONS IN C?
| AppLabs | 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 |
| code for copying two strings with out strcpy() function. | | 5 |
| Convert the following expression to postfix and prefix
X $ Y Z - M + N + P / Q / (R + S)
| | 2 |
| How do I access command-line arguments? | Wipro | 2 |
| |
| For more C Interview Questions Click Here |