• Code up
  • Embedded C Interview

      Embedded C interview questions Learn with me series: Here are some C questions which I formulated for better understanding #include <stdio.h> int main() { int a,b,c; float d,e,f;a=1; b=1234567; c=1234;d=14.1; e=0.122345; f=12345.12345;printf(“|%9d|t|%8d|t|%11d|n|%f|t|%3.5f|t|%10.10f|n”,a,b,c,d,e,f); getch(); } What is val of f? Ans What is the output? #include<stdio.h> int main() { int var=EOF; printf(“%d”,var); getch(); } Ans:-1 […]