What will be the output#include<stdio.h>int main(){double x = 30.5;x %= 20.0;printf("%d",x);return 0;}
#inlcude<stdio.h>int main(){int n,i,j;printf(" How many rows you want in your pyramid \n");scanf("%d",&n);for(i=0; i<=n;i++){for(j=0; j<2*n-1;j++){if(j>n-(i-1) && j<n+(i-1){printf(" ");}elseprintf(" ");}printf("\n");}return 0;}
#include <stdio.h>int main(){int i;i = 10> 12 ? 15 : 1 != 2 < 5 ? 20 : 30;printf("Value of x:%d", i);return 0;}