| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| program to find the ASCII value of a number | | 5 |
| what is the use of keyword volatile?? | LG-Soft | 4 |
| What are the uses of pre-processor directives? | | 2 |
| read the folllowing code
# define MAX 100
# define MIN 100
....
....
if(x>MAX)
x=1;
else if(x<MIN)
x=-1;
x=50;
if the initial value of x=200,what is the vlaue after
executing this code?
a.200
b.1
c.-1
d.50
| TCS | 2 |
| Difference Between embedded software and soft ware? | Bosch | 1 |
| HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I
NEED AN ANSWER THAT IMPRESS THE INTERVIEWER | | 2 |
| write an algorithm to get a sentence and reverse it in the
following format:
input : I am here
opuput: Here Am I
note: first letter of every word is capiatlised | | 2 |
| what is the size of an integer variable? | | 1 |
| what is the difference between normal variables and pointer
variables.............. | Satyam | 7 |
| I have an array of 100 elements. Each element contains some
text. i want to:
append a star character to the end of every fifth element
remove every second character from every tenth element,
and…
add a line feed (ascii 10) after the 30th character of
every array element whose length is greater than 30
characters. | | 1 |
| What are bit fields? What is their use? | Adobe | 1 |
| macros and function are related in what aspect?
a)recursion b)varying no of arguments
c)hypochecking d)type declaration
| HCL | 8 |
| Define function ?Explain about arguments? | Geometric-Software | 2 |
| how to make c program without a libary?
e.g.#include<stdio.h> libary is not in c progaram. | | 1 |
| How can I get Single byte from 'int' type variable? Can we
alter single bit or multiple bits in int type variable? if so,
How? | | 2 |
| design and implement a program that reads floating-points
numbers in a sentinel-controlled loop until the user
terminates the program by entering zero.your program should
determinate and print the smallest,largest and average of
the supplied numbers. | | 1 |
| what is Structural oriented language?
give some example of this language.....? | | 1 |
| what is the diference between pointer to the function and
function to the pointer? | | 2 |
| void swap(int a,int b)
{
a=a+b;
b=a-b;
a=a-b;
}
in this code always gives the same result for all case | TCS | 7 |
| what is c?
| Tech-Mahindra | 5 |
| |
| For more C Interview Questions Click Here |