MCQs>IT & Programming>Symbian C++>What is the output of the following code? #include #include # or LIBRARY centralrepository.lib CRepository* cRepository = CRepository::NewLC( KCRUidDCLLogs ); TBuf<50> bytes; User::LeaveIfError( cRepository->Get(KLogsGPRSReceivedCounter, bytes ) ); CAknInformationNote* informationNote = new (ELeave) CAknInformationNote; TBuf<100> msg; msg.Copy(_L('Data in bytes : ')); msg.Append(bytes); informationNote->ExecuteLD(msg); CleanupStack::PopAndDestroy();
Symbian C++ MCQs
What is the output of the following code? #include #include # or LIBRARY centralrepository.lib CRepository* cRepository = CRepository::NewLC( KCRUidDCLLogs ); TBuf<50> bytes; User::LeaveIfError( cRepository->Get(KLogsGPRSReceivedCounter, bytes ) ); CAknInformationNote* informationNote = new (ELeave) CAknInformationNote; TBuf<100> msg; msg.Copy(_L("Data in bytes : ")); msg.Append(bytes); informationNote->ExecuteLD(msg); CleanupStack::PopAndDestroy();
Answer
Correct Answer: It displays the total data received using GPRS.
Explanation:
Note: This Question is unanswered, help us to find answer for this one