Function returning string

Can any one correct the following code and explain...
The function decode is returning a string and i want that local string to be stored in another string in main which calls that function.

 
#include
#include
#include
void decode(char q[]);
int main()
{  //p refers to orignal string and q refers to quoted string
char a,b,c,d,e,f,g,h,i;
char p[]="011100011";
cout<
                

Replies

You are reading an archived discussion.

Related Posts

Hello Friends I am badly stuck with following Problem I have a Project set up on my localhost in following hierarchy www/htdocs/abl Now the Problem is I want to rewrite...
Chinese researchers have finally made a breakthrough in the wireless internet segment with Li-Fi technology, where wireless signals get transmitted via lightbulbs. These brilliantly awesome Chinese folks proposed that four...
Tapping into the smartphone and tablet market, Microsoft has today released a Remote Desktop App for Android, iOS (iPad and iPhone) and Mac which allows users to remotely access their...
Facebook iOS app update is here. With the update version 6.6, Facebook has taken a step closer to bringing all the functionality that the Facebook desktop mode offers. The latest...
Can any one tell what are algorithms?