TCS Company Programming Variables

How many of the following are invalid
variable name?
NUMBER
first.name
midname. _num ​ 93num
num93
last name ​ nUMBER
4321
1. 5
2. 3
3. 2
4. More than 5

Read Solution (Total 15)

TCS Other Question

Predict the output of following code:
main()
{
int a=10,b=20,c=5,d;
d=a
Output of following program?
#include
int main()
{
printf("%d", printf("%d", 1234));
return 0;
}
1. 12344
2. 12341
3. 11234
4. 41234