In which mode we open the file for read,write and append
also in c ?
a)W
b)w+
c)r+
d)a
Answers were Sorted based on User's Feedback
What are the average number of comparisons required to sort 3 elements?
what is foreign key in c language?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
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)
1 Answers Bosch, College School Exams Tests,
Under what circumstances does a name clash occur?
What is the 'named constructor idiom'?
What is I ++ in c programming?
Write a Program to find whether the given number or string is palindrome.
enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above
. A database table called PERSON contains the fields NAME, BASIC and HRA. Write a computer program to print a report which employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose total salary is more than 10,000.
What is malloc() function?
Distinguish between actual and formal arguments.