Aloha paper for cdac ccpp

2,294 views

Published on

for more info please visit
http://acts.cdac.in
or
http://cdac.in
or
http://cdacgru.wordpress.com

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,294
On SlideShare
0
From Embeds
0
Number of Embeds
1,671
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Aloha paper for cdac ccpp

  1. 1. Aloha Paper for CDAC CCPP Q1. Write a program to reverse given string (complete the function) Char * ReverseSting(char* ps2string){ } Q2. Write a recursive function which will compute sum of digits no (complete the function) Int sumofDigits(int n){ } Q3. Write a constructor of following class Class student{ char* m_s2Name; int m_nRollNo; float m_fpersentage; }; Q4 . implement a function to find weather more bits are On at even position in comparison with odd position for giving number(complete the function) Bool CompleteSetBits(int s){ } Q5. Write a function to trim/clear/remove the trailing blanks tabs and newline from the giving string (complete the function) Char* TrimString (char * ps2Input) { }

×