Q 1.
Array can be considered as set of elements stored in consecutive memory locations but having……?/ सरणी को लगातार स्मृति स्थानों में संग्रहीत तत्वों के सेट के रूप में माना जा सकता है लेकिन ……?
Q 7.
What is the output of C Program with Strings? / स्ट्रिंग्स के साथ C प्रोग्राम का आउटपुट क्या है?
int main()
{
char ary[]="Discovery Channel";
printf("%s",ary);
return 0;
}
Q 8.
Array declaration in c / c . में Array घोषणा (RPSC ACP programmer 2011)
int a1 []= {2, 3, 5} ;
int a2 [] ;
int a3 [0] ;
int a4 [1] ;
float a5 [3.5] ;
Valid declarations are
Q 10.
code./कोड-
int main()
{
int a[2]={1,2};
int *array = &a[-1];
int i;
for(i=0;i<2;i++)
{
printf("\t%d",*array);
array++;
}
return 0;
}
What will print as per above code./ऊपर दिए गए कोड के अनुसार क्या प्रिंट होगा?