| Other C Interview Questions |
|| Asked @
|i want the code for printing the output as follows
=> do u mean above program's output...
=>output will be:2,whatever you enter value for b.
=>because scanf is a library fn which will return how many
arguements it processes, and second value
you are right mr.Satya but i found my self unable to
understand that for the first time scanf returns the no of
successful matches but how for the second time it returns
the value of 'b'.while a function should return the
same 'r' value every time.
|biggest of two no's with out using if condition statement
|how the compiler treats any volatile variable?Explain with
|Given an array of numbers, except for one number all the
others occur twice. Give an algorithm to find that number
which occurs only once in the array.
|Write a programm such that
if user enter 11.25 it roundup to 11
but if user enter 11.51 upto 11.99 it will round up to 12
i.e.;convert the floting point value into integer format as
|Write a program in c to print
|c program to subtract between two numbers without using '-'
sign and subtract function.
|program for swapping two strings by using pointers in c language
|what is mallloc()?how it works?
|If the static variable is declared as global,
will it be same as extern?
|what is the difference between i++ and ++i?
|For more C Interview Questions Click Here |