What is the difference between static and global variables?
Answer / kush joshi
static variable only can access within a function where
these declared, but the global variables access any where in
the program.
| Is This Answer Correct ? | 4 Yes | 1 No |
What is period operator in c?
What are 'near' and 'far' pointers?
#include<stdio.h> int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }
What is header file in c?
What is the difference between functions abs() and fabs()?
Tell me can the size of an array be declared at runtime?
What does a function declared as pascal do differently?
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
what type of language is C?
I want tcs placement papers of 2004-2009 , its urgent
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?
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 explain above..