[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Program Discussion :: Basics

Home > Programs > Basics

6 / 279

Write a program to print next to the last word of a sentence.


using namespace std;
int main(){
    int t;
              char str[100];
               int l=0;
             char nstr[100];
                    for(int i=0;str[i]!='\0';i  ){
                         l  ;
                 int k=0,j=0;
                  for(int i=l;i>=0;i--){


Asked In :: IBM TCS Virtusa Wipro NLTH Accenture Global Edge eLitmus

Post Your Answer Here:

Database Connectivity Error : Too many connections