1. What will be the output of the following program? #include<iostream.h> #include<string.h> class IndiaBix { int val; public: void SetValue(char str1, char str2) { val = strcspn(str1, str2); } void ShowValue() { cout<< val; } }; int main() { IndiaBix objBix; objBix.SetValue((char)"India", (char)"Bix"); objBix.ShowValue(); return 0; }
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use