answersLogoWhite

0


Best Answer

It's not a requirement, but it is highly recommended. All C keywords are in lowercase as are all standard library names and types. Uppercase names are conventionally used to denote macros since a macro is not C code (macro expansion is handled by the preprocessor so the compiler never sees them). User-defined types are conventionally given a leading capital to differentiate them from the standard library types. Programmers are free to adopt their own style of coding, however sticking to the established conventions and best practices is good etiquette.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

7y ago

No, they are not required to be, but lowercase is much easier to read than uppercase (in much the same way that uppercase denotes shouting in social media). All C standard library functions are entirely in lower case. Macros are not part of the language itself thus they are written entirely in uppercase to make them stand out from the actual code. User-defined types and functions can use any style you wish, however it's best to be consistent. All lower-case with underscores for spaces helps readability while type definitions often have a leading capital to differentiate them from the standard library and built-in types.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

No, for example 'null' wouldn't do instead of 'NULL'.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Are c programes required to be typed in lowercase?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why java is a strictly type language?

C is not a strongly-typed language, it is weakly-typed. This means that it is possible to work around the type system. That is, types can be explicitly or implicitly converted to other types. A strongly-typed language simply wouldn't allow this. However, C is statically-typed, which means that values are bound to types at compile time, rather than at runtime as they are in dynamically-typed languages.


What is the differences between smalltalk and c plus plus?

Smalltalk is dynamically typed whereas C++ is statically typed. As a result C++ performs better than Smalltalk. However, Smalltalk inheritance is less strict than C++ so it's a bit more flexible.


Write a program to initialize a character and print whether it is uppercase lowercase or special character in java module 1?

I'll just write a function to do that, I hope the good people won't try to run it as it is.... void function() { char c = 'a'; if( c >= 'a' && c <='z' ) System.out.println("LowerCase"); else if( c>='A' && c <='Z' ) System.out.println("UpperCase"); else System.out.println("Special Character"); }


Why Java is called strongly typed language?

A strongly typed programming languages is one that requires the type of a variable to be explicitly stated. C is a strongly typed language. You must declare the type of data a variable will store for C to interpret it: int myVariable;myVariable = 25; Perl is a loosely typed language. There is no need to declare the variable type before using it: $myVariable = 25;$myVariable = "A String.";


In C language lowercase letters are significant?

Yes.

Related questions

How do you make a cent sign?

The letter 'c' (lowercase) is usually used.


C plus plus strong typing or weak?

C++ is strongly typed.


How do you convert uppercase to lowercase and vice versa in c?

with toupper and tolower, from ctype.h


Is C language strongly typed or weekly typed?

The C language is considered strongly typed by many, and is considered weakly typed by others.While the C language requires each data item to be declared with a specific type, which qualifies it as a strongly typed language in the views of many, the rules of cross-type assignments are lax. For example, assignment of one enumerated value to a variable designed for a different enumeration is accepted without error.


Where is the c program stored?

Text files, mainly. The name of the files usually ends with .C and .H (lowercase in unix).


What is the symbol for the speed of light?

Normally its a lowercase c, as in E=m(c)2. Energy=mass times the speed of light squared.


How do you buy a car on sims?

Go onto the thing that you can buy all of the stuff on and get a car. The car is under the garage things. But, first you have to get a garage door and get enough space to put the car in. If you do not have enough money to buy it, click control+alt+c and then type in motherlode. Motherlode has to be typed in lowercase, not uppercase!


How many calories in 390 kcal?

"calories" (lowercase C) and "kilocalories" or "kcal" are interchangeable words. 1 Calorie (uppercase C) = 1000 calories (lowercase C) = 1 kilocalorie So, 390 kcal is equal to 390 calories as well.


Why java is a strictly type language?

C is not a strongly-typed language, it is weakly-typed. This means that it is possible to work around the type system. That is, types can be explicitly or implicitly converted to other types. A strongly-typed language simply wouldn't allow this. However, C is statically-typed, which means that values are bound to types at compile time, rather than at runtime as they are in dynamically-typed languages.


Is it 4th century or Century?

The correct answer is fourth century, in which fourth is spelled out and century has a lowercase c.


What is mean by upper and lowercase letters for password?

Passwords often require a combination of uppercase and lowercase letters for security. Uppercase letters are those in the capital form (e.g., A, B, C), while lowercase letters are in the small form (e.g., a, b, c). Using a mix of both increases the complexity of the password and makes it more difficult for hackers to guess.


Why you need C programming?

C- Programing is basically a programing language of a computer. It helps to create software programing language which is usefull in creating softwares & data base programes. C programing language is the first & basic programing language. Other programing languages are:- C, C++ & C# (latest).