Can we declare variable anywhere in c?
No Answer is Posted For this Question
Be the First to Post Answer
#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?
What are global variables and explain how do you declare them?
What is the difference between mpi and openmp?
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?
Why use int main instead of void main?
What is a char in c?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
Difference between for loop and while loop?
Is there a way to compare two structure variables?
what is the difference between getch() and getche()?