| Other C Interview Questions |
|| Asked @
|. Consider the following program
The value of b[-1] is
(A) 1 (B) 3 (C) -6 (D) none
|discuss the steps needed to get a program from source code to
executable in a system?
|question-how to run a c programme.
|I use turbo C which allocates 2 bytes for integers and 4
bytes for long. I tried to declare array of size 500000 of
long type using the following code...
arr=(long *)(malloc)(500000 * sizeof(long));
It gives a warning that "Conversion may lose significant
digits in function main"...
And the resulting array size was very less around 8400 as
compared to 500000. Any suggestions will be welcomed....
|Explain in detail how strset (string handling function
works )pls explain it with an example.
|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?
|What is true about the following
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.
|write a program to swap bits in a character and return the value
prototype of function
char fun (char a, charb flag c)
where fun returns a char, char a is a the value char b is
the bit to be changed and flag c is the bit value
for eg: x=fun(45,7,0)
since 45 is 0010 0101
and ow x should contain the value 65 (0110 0101)
|How to convert decimal to binary in C using recursion??
|Write a c program to Find the name that you entered is male
name or female name?
Such as Sunjay is name of male and Payal is name of female
printf("%d",scanf"%d",&i))//if the input is 12 24 34 then
wat will be the output
|For more C Interview Questions Click Here |