Question: What will be the output of following program? Why? #include #include int main() { char str[] = Rendezvous!; printf(%d , *(str+strlen(str))); return 0; } I
What will be the output of following program? Why?
#include
#include
int main()
{
char str[] = "Rendezvous!";
printf("%d ", *(str+strlen(str)));
return 0;
}
I know the result will be 0 but why? can any one help please
----------------------------------------------------------------------------------------
What happens if you declare the parameter as:
int *arr[10]
and not as:
int (*arr)[10] ?
i don't know the answer for this one
--------------------------------------------------------------------------------------
both of these cods are in C and i need help with them
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
