Define the scope of static variables.
What is null pointer constant?
#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(“%d” ,a[i]); }
find second largest element in array w/o using sorting techniques? use onle one for loop.
15 Answers BitWise, Zycus Infotech,
# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }
What is the difference between variable declaration and variable definition in c?
What is the difference between malloc() and calloc()?
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..
What are the advantages of union?
how can we use static and extern?and where can we use this?
In which header file is the null macro defined?
What are the modifiers available in c programming language?
WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?
6 Answers Finite Infotech, Lovely Professional University, Wipro,