Math, asked by agrawalrishima, 7 months ago

print(10/2) will give the output​

Answers

Answered by qwsuccess
1

Print(10/2) will not give any of the output.

  • In C language if we don't mention in cde what is 10/2, more specifically we need to mention them as integers first. Otherwise, if we only write Printf("10/2") we will get 10/2 as an output only.
  • To get the value of 10/2 we need to write the cde as,

#include<stdio.h>

#include<conio.h>

void main(){

int div;

div = 10 / 2;

printf("The divison  is %d", div);

getch();

}

Similar questions