(1)What will be output if you will execute following program by gcc compiler in Linux?#include
int main(){ int a=5; printf("%d %d %d",a++,a++,++a); return 0;}Output:In LINUX7 6 8In TURBO C7 6 6Hints: In Turbo c parameter is passed from right to left in printf function but not in the Linux.(2)What will be output if you will execute following program by gcc compiler in Linux?#
No comments:
Post a Comment