Question from the Language C - Fundamentals test

Write a C program that prints the number of bottles of soda you need to bring to a party.

Medium

What does the following code return ?

#include <stdio.h>

int main() 
{
          int cocacola = 60;
          char sprite  = 3;
          int bottles = cocacola + sprite;
          printf("We have to bring %d bottles", bottles); 
          return 0;
}
Author: KahinaStatus: Published(Update)Question passed 355 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!