Driver code
public static void Main ( String [ ] args ) { String str = " geeksforgeeks " ; int len = str . Length ; int [ , ] queries = { { 1 , 3 } , { 2 , 4 } , { 1 , 9 } } ; int q = queries . GetLength ( 0 ) ; performQueries ( str , len , queries , q ) ; } }