printf(%s\n, argv[argc]);What will be the out of this C code?(assuming the input is "cool sister in city")
#include<stdio.h>What is the output of this programint main(){int a=10, b=20;printf("Before swap a=%d b=%d",a,b);a=a+b;//a=30 (10+20)b=a-b;//b=10 (30-20)a=a-b;//a=20 (30-10)printf("after swap a=%d b=%d",a,b);return 0;}
What will be the output of the following C code?int main(){struct mail{int pages;char str[4];}b;printf("%d",sizeof(b));return 0;}