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

Write a program to check if a number is prime or not.

write a program (keep taking numbers as input from user until user enters an Odd number)

write a program to print all the odd numbers from 1 to 100.