Are the following valid or not.

 a. int a = 8^8             →→ Valid

b. int x; int y = x;       →→ Valid

c. int x, y = x;            →→ Valid

d. char stars = '**';    →→ Invalid

Comments

Popular posts from this blog

program to (keep taking number as input from user until user enters a number which is multiple of 5.)

write a program to print the numbers from 0 to n, if n is given by user.

Write a program to print the average of 3 numbers.