What if cuda runtime version and cuda driver version are of different version

I have the following versions installed in my pc. my graphics driver is of 11.2 and my runtime version is 11.0. Will there be any problems in compilation of Cuda projects?

You shouldn’t have any problem. Only take care that your driver version is compatible with the CUDA one.