regarding the scope of the varibles;identify the incorrect
statement:
a.automatic variables are automatically initialised to 0
b.static variables are are automatically initialised to 0
c.the address of a register variable is not accessiable
d.static variables cannot be initialised with any expression
#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }
Explain what is page thrashing?
What is the size of a union variable?
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
5 Answers Vector, Vector Solutions,
main() { clrscr(); } clrscr();
What is the value of uninitialized variable in c?
how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"
What is call by value in c?
Differentiate between the = symbol and == symbol?
What is cohesion and coupling in c?
#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.
Explain the use of 'auto' keyword in c programming?