0% found this document useful (0 votes)
36 views6 pages

Test Your C Skills: Class: Roll No

The document contains 10 programming challenges: 1) Print "Hello world" without semicolons. 2) Swap two variables without a third. 3) Modify a constant variable. 4) Find a structure's size without sizeof. 5) Recursive Fibonacci series function. 6) Subtract numbers without subtraction operator. 7) Check even/odd without conditionals. 8) Convert numbers to words. 9) Output follows pattern of 3, 6, 11, 20, 37, 1034. 10) Check if a linked list is circular.

Uploaded by

vasanthi2014
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views6 pages

Test Your C Skills: Class: Roll No

The document contains 10 programming challenges: 1) Print "Hello world" without semicolons. 2) Swap two variables without a third. 3) Modify a constant variable. 4) Find a structure's size without sizeof. 5) Recursive Fibonacci series function. 6) Subtract numbers without subtraction operator. 7) Check even/odd without conditionals. 8) Convert numbers to words. 9) Output follows pattern of 3, 6, 11, 20, 37, 1034. 10) Check if a linked list is circular.

Uploaded by

vasanthi2014
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Class: Test Your C Skills Roll No:

1. Write a c program to print Hello world without using any semicolon.

2. Swap two variables without using third variable.

3. Write a c program to modify the constant variable in c?

4. Write a c program to find size of structure without using sizeof operator?

1
5. Write a c program to find out Fibonacci series of a given number using function
recursion.

6. Write a c program to Subtract two integer numbers without using subtraction


operator.

7. How to find entered number is EVEN or ODD without using conditional


statement (not using if.. else,if.. , else if..,while, do... while...., for....)

2
8. Write a program to convert numbers into words? For ex: 547,as Five Hundred
and Forty Seven.

3
9. Write a program to show that its output becomes 3,6,11,20,37,......1034?

10. Can you tell me how to check whether a linked list is circular?

4
5
6

You might also like