KollegeApply
Search Colleges, Courses, Exams , Questions and Articles
Search
All Streams
All Courses
Engineering
Management
Medical
Design
Explore
Online
KollegeApply
Search Colleges, Courses, Exams , Questions and Articles
Search
Login
All Streams
All Courses
Engineering
Management
Medical
Design
Explore
Online
Home
/
Questions
/
What will be the value stored in the variable 'c' if the following statement
Computer Applications
String Handling
Question
Updated
19 Aug 2026
What will be the value stored in the variable 'c' if the following statement is executed? c = "COMPUTER".charAt("COMPUTER".indexOf('P'))
A
Choose Your Answer
A
3
B
4
C
P
D
M
🔓 Unlock Solution & Correct Answer
Reveal the step-by-step explanation
Ask Orbit AI