C And Me

C And Me

Test your skill in c programming language. Developed by Kelechi Charles

Start Share
C And Me
int z,x=5,y=-10,a=4,b=2;
z = x++ - --y * b / a;
Question 1 out of 6
10 12 5 6
C And Me
char* myFunc (char *ptr)
{
ptr += 3;
return (ptr);
}
int main()
{
char *x, *y;
x = "HELLO";
y = myFunc (x);
printf ("y = %s \n", y);
return 0;
}
what will be the output when following code is executed
Question 2 out of 6
C And Me
"My salary was increased by 15%!"
Select the statement which will EXACTLY reproduce the line of text above.
C And Me
int testarray[3][2][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
What value does testarray[2][1][0] in the sample code above contain?
Question 5 out of 6
C And Me
int a=10,b;
b=a++ + ++a;
printf("%d,%d,%d,%d",b,a++,a,++a);
what will be the output when following code is executed