Explain rules for constructing variable names in c language, C/C++ Programming

Assignment Help:

Explain Rules for constructing variable names?

The Rules for constructing variable names :

a) A variable name is any combination of alphabets, 0 to 9 digits and underscores.

b) The first character in the variable name should be an alphabet.

c) No blanks or commas all allowed within a variable name.

d) No other than an underscore special symbol can be used in a variable name.

 


Related Discussions:- Explain rules for constructing variable names in c language

Basic C++ Velocity and Momentum Program, Write a program that does the foll...

Write a program that does the following: Calculates the Velocity and Momentum of an object. The formula for the velocity is V=d/t and the formula Momentum is m=mass*velocity. Your

Program, salotion of programes

salotion of programes

C program to demonstrate pointer to array, C program to demonstrate Pointer...

C program to demonstrate Pointer to array: void p2a(int *); void main() {                 int x=10, *a,**b;                 int arr[5];                 a=&x;//po

C program for sorting, C Program for SORTING # include stdio.h> void...

C Program for SORTING # include stdio.h> void main() {           char a;           int *p;           int i,j,temp;           clrscr();           p=&i;

Write a fragment of code that declares a variable, (a) Write a fragment of ...

(a) Write a fragment of code that declares a variable colSp of type ColourSpot, and then moves it to the point (3, -4), and sets its colour to Green. (b) A function QU8 is speci

Electrical eng, calculate the total resisitance of a series circuit?

calculate the total resisitance of a series circuit?

Answer, what is spanning tree? explain prims algorithm spanning tree?

what is spanning tree? explain prims algorithm spanning tree?

Described the order that objects in an array is destructed?, Described the ...

Described the order that objects in an array is destructed?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd