34.what are bitwise shift operators?
35.what are bit fields? What is the use of bit fields in a
structure declaration?
36.what is the size of an integer variable?
37.what are the files which are automatically opened when a
c file is executed?
38.what is the little endian and big endian?
39.what is the use of fflush() function?
40.what is the difference between exit() and _exit() functions?
41.where does malloc() function get the memory?
42.what is the difference between malloc() and calloc()
function?
43.what is the difference between postfix and prefix unary
increment operators?
Answers were Sorted based on User's Feedback
Answer / arthy
39. fflush() is a function used to refresh the buffer in
case of files..
once fflush() function is executed all the contents in the
buffer are put into the specific files and the buffer is
emptied..
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / snvs.narayana
43.prefix operator increase and then use value.
post fix operator use the value and then increase.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / prakash
43.postfix unary increment operator is assume the given
number and then add with one number to the given variable or
integer and display with the output .but prefix unary
increment operator is first add with one number t o given
variable or integer and display with the output
| Is This Answer Correct ? | 0 Yes | 2 No |
value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?
what is the use of ‘auto’ keyword?
how to use enum datatype?Please explain me?
how to find out the inorder successor of a node in a tree??
code for bubble sort?
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
Which is an example of a structural homology?
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }
Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both
Why do we use main function?
If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...