C | Operators | Question 7

Last Updated :
Discuss
Comments
C
#include <stdio.h>
int main()
{
    int i = 5, j = 10, k = 15;
    printf("%d ", sizeof(k /= i + j));
    printf("%d", k);
    return 0;
}
Assume size of an integer as 4 bytes. What is the output of above program?
4 1
4 15
2 1
Compile-time error
Tags:
Share your thoughts in the comments