void func1(int (*a)[10])
{
printf("Ok it works");
}
void func2(int a[][10])
{
printf("Will this work?");
}
main()
{
int a[10][10];
func1(a);
func2(a);
}
a. Ok it works
b. Will this work?
c. Ok it worksWill this work?
d. None of the above
main() { int i=5,j=6,z; printf("%d",i+++j); }
main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }
What is the main difference between STRUCTURE and UNION?
print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!
main() { 41printf("%p",main); }8
Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 Answers Mentor Graphics, Microsoft,
what is oop?
Which version do you prefer of the following two, 1) printf(ā%sā,str); // or the more curt one 2) printf(str);
Write a program to print a square of size 5 by using the character S.
main() { int i=10; void pascal f(int,int,int); f(i++,i++,i++); printf(" %d",i); } void pascal f(integer :i,integer:j,integer :k) { write(i,j,k); }
How can u say that a given point is in a triangle? 1. with the co-ordinates of the 3 vertices specified. 2. with only the co-ordinates of the top vertex given.
main() { int i=-1; +i; printf("i = %d, +i = %d \n",i,+i); }