Medium
What does the following code display?
int main() 
{
       int caramel = 8;
       int tagada  = 6;
       int sweets= caramel + tagada;
       printf(“We will eat %f sweets”, sweets); 
       return 0;
}
Author: KahinaStatus: PublishedQuestion passed 354 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!
5
Undefined behavior.8
What is the size of a long long in C++?1
What does the following code refer to:  C:\ProgramFiles\QtCreator\text.txt ? 1
Write a C program that prints the number of years a child needs to grow to be able to ride a roller coaster.2
Write a C function to swap two integers.3
Write a C program that calculates the average of two notes.4
Find the sum of all even numbers in an array in C