Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
If the number 6 is to be assigned to a integer variable called "temp", how would the statement appear in code
+1
vote
asked
Jan 4, 2020
by
anonymous
c
Please
log in
or register to answer this question.
7 Answers
+2
votes
answered
Jan 4, 2020
by
anonymous
code:
#include<stdio.h>
#include<conio.h>
void main()
{
int temp=6;
}
Please
log in
or register to add a comment.
+2
votes
answered
Jan 4, 2020
by
kartik p
(
180
points)
int temp;
temp=6;
Please
log in
or register to add a comment.
0
votes
answered
Jan 4, 2020
by
anonymous
int TEMPERATURE=6;
Please
log in
or register to add a comment.
+2
votes
answered
Jan 4, 2020
by
Abhishek Bharti
(
180
points)
int temp = 6;
Please
log in
or register to add a comment.
0
votes
answered
Jan 6, 2020
by
Jogini Rajashekar
(
140
points)
#include<stdio.h>
main()
{
int temp=6;
}
Please
log in
or register to add a comment.
0
votes
answered
Jan 6, 2020
by
kasimbee
(
280
points)
intemp
temp=6
print("temp")
Please
log in
or register to add a comment.
0
votes
answered
Jan 8, 2020
by
All in one Technical Aaditya
(
360
points)
1)
int temp=6;
2)
int temp;
temp=6;
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...