answersLogoWhite

0

No, they are functions. Operators are -> or ++or /=

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor

Add your answer:

Earn +20 pts
Q: Printf and scanf Operators in C and C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Math

Write a program in c for arithmetic operators by using switch case?

#include<stdio.h> #include<conio.h> void main() { int a,b,c; int menu; printf("choose the arithmetic option\n"); scanf("%d",&menu); switch(menu) { case 1: printf("Enter The Two Numbers:\n"); scanf("%d%d",&a,&b); c=a+b; printf("The addition of two numbers %d\n",c); break; case 2: printf("Enter THE TWO NUMBERS:\n"); scanf("%d%d",&a,&b); c=a-b; printf("The subtraction of two numbers %d\n",c); break; case 3: printf("Enter THE TWO NUMBERS:\n"); scanf("%d%d",&a,&b); c=a*b; printf("The multiplication of two numbers %d\n",c); break; case 4: printf("Enter THE TWO NUMBERS:\n"); scanf("%d%d",&a,&b); c=a/b; printf("The division of two numbers %d\n",c); break; } getch(); }


Greatest of four numbers if else if?

#include <stdio.h> #include <conio.h> int main() { int a,b,c,d; printf("Enter any 4 numbers"); scanf("%d%d%d%d",&a,&b,&c,&d); if(a>b&&a>c) { else if(a>d) printf("%d is greatest",a); } if(b>a&&b>c) { else if(b>d){ printf("%d is greatest",b); } if(c>a&&c>b) { else if(c>d) printf("%d is greatest",c); } else { printf("%d is greatest",d); } }


Conversion of binary to decimal in turbo c?

main() { int i,c=0,sum=0; scanf("%d",&i); while(i>=0) { i=i%2; sum=sum+i*pow(10,c); i=i/2; c++ } printf("%d",sum); } OR =) #include<stdio.h> #include<conio.h> void showbits(int h) { if(h==1) printf("%d",h); else { showbits(h/2); printf("%d",h%2); } } void main() { int nu; void showbits(int h); clrscr(); printf("Num?");scanf("%d",&nu); printf("\nBin eq of %d is ",nu); showbits(nu); getch(); }


C plus plus program that convert decimal to binary using the concept of stack?

#include<stdio.h> #include<stdlib.h> main() { int number,binary[10000],b=0; printf("Enter decimal number "); scanf("%d",&number); printf("\nBinary: "); for(;number;number/=2,b++) binary[b]=number%2; for(b--;b>-1;b--) printf("%d ",binary[b]); }


C program to find numbers divisible by 7?

#include<stdio.h> #include<conio.h> void main() { int i,c,n; printf("Enter the number of terms you want which are divisible by 7"); scanf("%d",&n); c=0; for(i=7;;i+=7) { printf("\n %d ",i); c++; if(c==n) break; } getch(); }