Conditional Statements

Q

What will be printed as the result of the operation below:

          main() {
              int a=0;
              if (a==0)
                  printf("Cisco Systems\n");
                  printf("Cisco Systems\n");
          }

✍: FYIcenter

A

Answer: Two lines with "Cisco Systems" will be printed.

2007-02-26, 6502👍, 0💬