answer action

Can’t find an answer?

Make use of a qualified tutor to get the answer

Andrey Morozov
0
Q:

c

/* Answer to: "c" */

/*
  To learn about the letter 'C' you go to the Wikipedia:
  https://en.wikipedia.org/wiki/C
  ...but this is a Chrome Exstention for developers:

  C is a general-purpose, procedural computer programming language
  supporting structured programming, lexical variable scope, and
  recursion, while a static type system prevents unintended
  operations.
  
  Here's the Wikipedia:
  https://en.wikipedia.org/wiki/C_(programming_language)
*/
12
"C" is a programming language.
2
#include <stdio.h>

//main() is the main function for C
int main(){
	
	//int defines an integer variable
	int txt;

	//scanf() inputs the value you give it
	//%d defines that the value is an integer
	//& indicates that you're inputting a variable
	scanf("%d",&txt);

	//printf() outputs the value you give it
	//the %d is our "txt" variable, assigned by putting ",txt"
	printf("%d",txt);

	//return 0 indicates the end of the script
	return 0;
}

//P.S. always remember to put semicolons at the end of a line ;)
1
#include <stdio.h>

int main() {
   printf("Hello, world!");
   return 0;
}
1
C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system
-1

New to Communities?

Join the community